1 #ifndef _RPCNSI_H 2 #define _RPCNSI_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 typedef void *RPC_NS_HANDLE; 8 #define RPC_C_NS_SYNTAX_DEFAULT 0 9 #define RPC_C_NS_SYNTAX_DCE 3 10 #define RPC_C_PROFILE_DEFAULT_ELT 0 11 #define RPC_C_PROFILE_ALL_ELT 1 12 #define RPC_C_PROFILE_MATCH_BY_IF 2 13 #define RPC_C_PROFILE_MATCH_BY_MBR 3 14 #define RPC_C_PROFILE_MATCH_BY_BOTH 4 15 #define RPC_C_NS_DEFAULT_EXP_AGE -1 16 17 RPC_STATUS RPC_ENTRY RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); 18 RPC_STATUS RPC_ENTRY RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*); 19 RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); 20 RPC_STATUS RPC_ENTRY RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**); 21 RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(RPC_NS_HANDLE*); 22 RPC_STATUS RPC_ENTRY RpcNsGroupDeleteA(unsigned long,unsigned char*); 23 RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*); 24 RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*); 25 RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*); 26 RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**); 27 RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqDone(RPC_NS_HANDLE*); 28 RPC_STATUS RPC_ENTRY RpcNsProfileDeleteA(unsigned long,unsigned char*); 29 RPC_STATUS RPC_ENTRY RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*); 30 RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*); 31 RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*); 32 RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**); 33 RPC_STATUS RPC_ENTRY RpcNsProfileEltInqDone(RPC_NS_HANDLE*); 34 RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqNext(IN RPC_NS_HANDLE,OUT UUID*); 35 RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqDone(IN OUT RPC_NS_HANDLE*); 36 RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**); 37 RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); 38 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateA(unsigned long,unsigned char*); 39 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*); 40 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**); 41 RPC_STATUS RPC_ENTRY RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long); 42 RPC_STATUS RPC_ENTRY RpcNsMgmtInqExpAge(unsigned long*); 43 RPC_STATUS RPC_ENTRY RpcNsMgmtSetExpAge(unsigned long); 44 RPC_STATUS RPC_ENTRY RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*); 45 RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(RPC_NS_HANDLE*); 46 RPC_STATUS RPC_ENTRY RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*); 47 #ifndef UNICODE_ONLY 48 RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*); 49 RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); 50 #endif 51 #ifdef RPC_UNICODE_SUPPORTED 52 RPC_STATUS RPC_ENTRY RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*); 53 RPC_STATUS RPC_ENTRY RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*); 54 RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*); 55 RPC_STATUS RPC_ENTRY RpcNsGroupDeleteW(unsigned long,unsigned short*); 56 RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*); 57 RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*); 58 RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*); 59 RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**); 60 RPC_STATUS RPC_ENTRY RpcNsProfileDeleteW(unsigned long,unsigned short*); 61 RPC_STATUS RPC_ENTRY RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*); 62 RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*); 63 RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*); 64 RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**); 65 RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*); 66 RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**); 67 RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*); 68 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateW(unsigned long,unsigned short*); 69 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*); 70 RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**); 71 RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*); 72 #endif /* RPC_UNICODE_SUPPORTED */ 73 #ifdef UNICODE 74 #define RpcNsBindingLookupBegin RpcNsBindingLookupBeginW 75 #define RpcNsBindingImportBegin RpcNsBindingImportBeginW 76 #define RpcNsBindingExport RpcNsBindingExportW 77 #define RpcNsBindingUnexport RpcNsBindingUnexportW 78 #define RpcNsGroupDelete RpcNsGroupDeleteW 79 #define RpcNsGroupMbrAdd RpcNsGroupMbrAddW 80 #define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveW 81 #define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginW 82 #define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextW 83 #define RpcNsEntryExpandName RpcNsEntryExpandNameW 84 #define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginW 85 #define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportW 86 #define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateW 87 #define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteW 88 #define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsW 89 #define RpcNsProfileDelete RpcNsProfileDeleteW 90 #define RpcNsProfileEltAdd RpcNsProfileEltAddW 91 #define RpcNsProfileEltRemove RpcNsProfileEltRemoveW 92 #define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginW 93 #define RpcNsProfileEltInqNext RpcNsProfileEltInqNextW 94 #else 95 #define RpcNsBindingLookupBegin RpcNsBindingLookupBeginA 96 #define RpcNsBindingImportBegin RpcNsBindingImportBeginA 97 #define RpcNsBindingExport RpcNsBindingExportA 98 #define RpcNsBindingUnexport RpcNsBindingUnexportA 99 #define RpcNsGroupDelete RpcNsGroupDeleteA 100 #define RpcNsGroupMbrAdd RpcNsGroupMbrAddA 101 #define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveA 102 #define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginA 103 #define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextA 104 #define RpcNsEntryExpandName RpcNsEntryExpandNameA 105 #define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginA 106 #define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportA 107 #define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateA 108 #define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteA 109 #define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsA 110 #define RpcNsProfileDelete RpcNsProfileDeleteA 111 #define RpcNsProfileEltAdd RpcNsProfileEltAddA 112 #define RpcNsProfileEltRemove RpcNsProfileEltRemoveA 113 #define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginA 114 #define RpcNsProfileEltInqNext RpcNsProfileEltInqNextA 115 #endif 116 #ifdef __cplusplus 117 } 118 #endif 119 #endif 120