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