source: Daodan/MinGW/include/rpcdce2.h@ 1126

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

Daodan: Added Windows MinGW and build batch file

File size: 2.1 KB
RevLine 
[1046]1#ifndef _RPCDCE2_H
2#define _RPCDCE2_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#include <rpcdce.h>
11
12#define RPC_C_EP_ALL_ELTS 0
13#define RPC_C_EP_MATCH_BY_IF 1
14#define RPC_C_EP_MATCH_BY_OBJ 2
15#define RPC_C_EP_MATCH_BY_BOTH 3
16#define RPC_C_VERS_ALL 1
17#define RPC_C_VERS_COMPATIBLE 2
18#define RPC_C_VERS_EXACT 3
19#define RPC_C_VERS_MAJOR_ONLY 4
20#define RPC_C_VERS_UPTO 5
21#define DCE_C_ERROR_STRING_LEN 256
22#define RPC_C_MGMT_INQ_IF_IDS 0
23#define RPC_C_MGMT_INQ_PRINC_NAME 1
24#define RPC_C_MGMT_INQ_STATS 2
25#define RPC_C_MGMT_IS_SERVER_LISTEN 3
26#define RPC_C_MGMT_STOP_SERVER_LISTEN 4
27
28int RPC_ENTRY UuidCompare(UUID*,UUID*,RPC_STATUS*);
29RPC_STATUS RPC_ENTRY UuidCreateNil(UUID*);
30int RPC_ENTRY UuidEqual(UUID*,UUID*,RPC_STATUS*);
31unsigned short RPC_ENTRY UuidHash(UUID*,RPC_STATUS*);
32int RPC_ENTRY UuidIsNil(UUID*,RPC_STATUS*);
33#ifdef RPC_UNICODE_SUPPORTED
34RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS,unsigned char*);
35RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS,unsigned short*);
36RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**);
37RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned short**);
38#ifdef UNICODE
39#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextW
40#define DceErrorInqText DceErrorInqTextW
41#else
42#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextA
43#define DceErrorInqText DceErrorInqTextA
44#endif /* UNICODE */
45#else /* RPC_UNICODE_SUPPORTED */
46RPC_STATUS RPC_ENTRY DceErrorInqText(RPC_STATUS,unsigned char*);
47RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNext(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**);
48#endif
49RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE,unsigned long,RPC_IF_ID*,unsigned long,UUID*,RPC_EP_INQ_HANDLE*);
50RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE*);
51RPC_STATUS RPC_ENTRY RpcMgmtEpUnregister(RPC_BINDING_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE,UUID*);
52RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN);
53#ifdef __cplusplus
54}
55#endif
56#endif
Note: See TracBrowser for help on using the repository browser.