[1046] | 1 | #ifndef _RPCDCE2_H
|
---|
| 2 | #define _RPCDCE2_H
|
---|
| 3 | #if __GNUC__ >=3
|
---|
| 4 | #pragma GCC system_header
|
---|
| 5 | #endif
|
---|
| 6 |
|
---|
| 7 | #ifdef __cplusplus
|
---|
| 8 | extern "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 |
|
---|
| 28 | int RPC_ENTRY UuidCompare(UUID*,UUID*,RPC_STATUS*);
|
---|
| 29 | RPC_STATUS RPC_ENTRY UuidCreateNil(UUID*);
|
---|
| 30 | int RPC_ENTRY UuidEqual(UUID*,UUID*,RPC_STATUS*);
|
---|
| 31 | unsigned short RPC_ENTRY UuidHash(UUID*,RPC_STATUS*);
|
---|
| 32 | int RPC_ENTRY UuidIsNil(UUID*,RPC_STATUS*);
|
---|
| 33 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
| 34 | RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS,unsigned char*);
|
---|
| 35 | RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS,unsigned short*);
|
---|
| 36 | RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**);
|
---|
| 37 | RPC_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 */
|
---|
| 46 | RPC_STATUS RPC_ENTRY DceErrorInqText(RPC_STATUS,unsigned char*);
|
---|
| 47 | RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNext(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**);
|
---|
| 48 | #endif
|
---|
| 49 | RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE,unsigned long,RPC_IF_ID*,unsigned long,UUID*,RPC_EP_INQ_HANDLE*);
|
---|
| 50 | RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE*);
|
---|
| 51 | RPC_STATUS RPC_ENTRY RpcMgmtEpUnregister(RPC_BINDING_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE,UUID*);
|
---|
| 52 | RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN);
|
---|
| 53 | #ifdef __cplusplus
|
---|
| 54 | }
|
---|
| 55 | #endif
|
---|
| 56 | #endif
|
---|