source: Daodan/MinGW/include/rpcnsi.h@ 1122

Last change on this file since 1122 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 7.5 KB
RevLine 
[1046]1#ifndef _RPCNSI_H
2#define _RPCNSI_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10typedef 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
19
20RPC_STATUS RPC_ENTRY RpcNsBindingExportA(unsigned long,unsigned char*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
21RPC_STATUS RPC_ENTRY RpcNsBindingUnexportA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID_VECTOR*);
22RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
23RPC_STATUS RPC_ENTRY RpcNsBindingLookupNext(RPC_NS_HANDLE,RPC_BINDING_VECTOR**);
24RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(RPC_NS_HANDLE*);
25RPC_STATUS RPC_ENTRY RpcNsGroupDeleteA(unsigned long,unsigned char*);
26RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddA(unsigned long,unsigned char*,unsigned long,unsigned char*);
27RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveA(unsigned long,unsigned char*,unsigned long,unsigned char*);
28RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_NS_HANDLE*);
29RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextA(RPC_NS_HANDLE,unsigned char**);
30RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqDone(RPC_NS_HANDLE*);
31RPC_STATUS RPC_ENTRY RpcNsProfileDeleteA(unsigned long,unsigned char*);
32RPC_STATUS RPC_ENTRY RpcNsProfileEltAddA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*,unsigned long,unsigned char*);
33RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,unsigned char*);
34RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginA(unsigned long,unsigned char*,unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned char*,RPC_NS_HANDLE*);
35RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextA(RPC_NS_HANDLE,RPC_IF_ID*,unsigned char**,unsigned long*,unsigned char**);
36RPC_STATUS RPC_ENTRY RpcNsProfileEltInqDone(RPC_NS_HANDLE*);
37RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqNext(/*IN*/ RPC_NS_HANDLE,/*OUT*/ UUID*);
38RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqDone(/*IN OUT*/ RPC_NS_HANDLE*);
39RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameA(unsigned long,unsigned char*,unsigned char**);
40RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportA(unsigned long,unsigned char*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
41RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateA(unsigned long,unsigned char*);
42RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteA(unsigned long,unsigned char*);
43RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsA(unsigned long,unsigned char*,RPC_IF_ID_VECTOR**);
44RPC_STATUS RPC_ENTRY RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE,unsigned long);
45RPC_STATUS RPC_ENTRY RpcNsMgmtInqExpAge(unsigned long*);
46RPC_STATUS RPC_ENTRY RpcNsMgmtSetExpAge(unsigned long);
47RPC_STATUS RPC_ENTRY RpcNsBindingImportNext(RPC_NS_HANDLE,RPC_BINDING_HANDLE*);
48RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(RPC_NS_HANDLE*);
49RPC_STATUS RPC_ENTRY RpcNsBindingSelect(RPC_BINDING_VECTOR*,RPC_BINDING_HANDLE*);
50#ifndef UNICODE_ONLY
51RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginA(unsigned long,unsigned char*,RPC_NS_HANDLE*);
52RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginA(unsigned long,unsigned char*,RPC_IF_HANDLE,UUID*,RPC_NS_HANDLE*);
53#endif
54#ifdef RPC_UNICODE_SUPPORTED
55RPC_STATUS RPC_ENTRY RpcNsBindingExportW(unsigned long,unsigned short*,RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
56RPC_STATUS RPC_ENTRY RpcNsBindingUnexportW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID_VECTOR*);
57RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginW(unsigned long,unsigned short*,RPC_IF_HANDLE,UUID*,unsigned long,RPC_NS_HANDLE*);
58RPC_STATUS RPC_ENTRY RpcNsGroupDeleteW(unsigned long,unsigned short*);
59RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddW(unsigned long,unsigned short*,unsigned long,unsigned short*);
60RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveW(unsigned long,unsigned short*,unsigned long,unsigned short*);
61RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginW(unsigned long,unsigned short*,unsigned long,RPC_NS_HANDLE*);
62RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextW(RPC_NS_HANDLE,unsigned short**);
63RPC_STATUS RPC_ENTRY RpcNsProfileDeleteW(unsigned long,unsigned short*);
64RPC_STATUS RPC_ENTRY RpcNsProfileEltAddW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*,unsigned long,unsigned short*);
65RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveW(unsigned long,unsigned short*, RPC_IF_ID*,unsigned long,unsigned short*);
66RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginW(unsigned long,unsigned short*, unsigned long,RPC_IF_ID*,unsigned long,unsigned long,unsigned short*, RPC_NS_HANDLE*);
67RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextW(RPC_NS_HANDLE,RPC_IF_ID*, unsigned short**,unsigned long*,unsigned short**);
68RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginW(unsigned long,unsigned short*,RPC_NS_HANDLE*);
69RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameW(unsigned long,unsigned short*,unsigned short**);
70RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportW(unsigned long,unsigned short*,RPC_IF_ID*,unsigned long,UUID_VECTOR*);
71RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateW(unsigned long,unsigned short*);
72RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteW(unsigned long,unsigned short*);
73RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsW(unsigned long,unsigned short , RPC_IF_ID_VECTOR**);
74RPC_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
120}
121#endif
122#endif
Note: See TracBrowser for help on using the repository browser.