mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 03:27:31 +00:00
6afbc8f483
svn path=/branches/reactos-yarotows/; revision=45219
120 lines
7.4 KiB
C
120 lines
7.4 KiB
C
#ifndef _RPCNSI_H
|
|
#define _RPCNSI_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
typedef void *RPC_NS_HANDLE;
|
|
#define RPC_C_NS_SYNTAX_DEFAULT 0
|
|
#define RPC_C_NS_SYNTAX_DCE 3
|
|
#define RPC_C_PROFILE_DEFAULT_ELT 0
|
|
#define RPC_C_PROFILE_ALL_ELT 1
|
|
#define RPC_C_PROFILE_MATCH_BY_IF 2
|
|
#define RPC_C_PROFILE_MATCH_BY_MBR 3
|
|
#define RPC_C_PROFILE_MATCH_BY_BOTH 4
|
|
#define RPC_C_NS_DEFAULT_EXP_AGE -1
|
|
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupDeleteA(unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqDone(RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileDeleteA(unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltInqDone(RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqNext(IN RPC_NS_HANDLE,OUT UUID*);
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqDone(IN OUT RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateA(unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtInqExpAge(unsigned long*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtSetExpAge(unsigned long);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*);
|
|
#ifndef UNICODE_ONLY
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*);
|
|
#endif
|
|
#ifdef RPC_UNICODE_SUPPORTED
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupDeleteW(unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileDeleteW(unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**);
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*);
|
|
RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateW(unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*);
|
|
RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**);
|
|
RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*);
|
|
#endif /* RPC_UNICODE_SUPPORTED */
|
|
#ifdef UNICODE
|
|
#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginW
|
|
#define RpcNsBindingImportBegin RpcNsBindingImportBeginW
|
|
#define RpcNsBindingExport RpcNsBindingExportW
|
|
#define RpcNsBindingUnexport RpcNsBindingUnexportW
|
|
#define RpcNsGroupDelete RpcNsGroupDeleteW
|
|
#define RpcNsGroupMbrAdd RpcNsGroupMbrAddW
|
|
#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveW
|
|
#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginW
|
|
#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextW
|
|
#define RpcNsEntryExpandName RpcNsEntryExpandNameW
|
|
#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginW
|
|
#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportW
|
|
#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateW
|
|
#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteW
|
|
#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsW
|
|
#define RpcNsProfileDelete RpcNsProfileDeleteW
|
|
#define RpcNsProfileEltAdd RpcNsProfileEltAddW
|
|
#define RpcNsProfileEltRemove RpcNsProfileEltRemoveW
|
|
#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginW
|
|
#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextW
|
|
#else
|
|
#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginA
|
|
#define RpcNsBindingImportBegin RpcNsBindingImportBeginA
|
|
#define RpcNsBindingExport RpcNsBindingExportA
|
|
#define RpcNsBindingUnexport RpcNsBindingUnexportA
|
|
#define RpcNsGroupDelete RpcNsGroupDeleteA
|
|
#define RpcNsGroupMbrAdd RpcNsGroupMbrAddA
|
|
#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveA
|
|
#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginA
|
|
#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextA
|
|
#define RpcNsEntryExpandName RpcNsEntryExpandNameA
|
|
#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginA
|
|
#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportA
|
|
#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateA
|
|
#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteA
|
|
#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsA
|
|
#define RpcNsProfileDelete RpcNsProfileDeleteA
|
|
#define RpcNsProfileEltAdd RpcNsProfileEltAddA
|
|
#define RpcNsProfileEltRemove RpcNsProfileEltRemoveA
|
|
#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginA
|
|
#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextA
|
|
#endif
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|