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