5 #ifndef MSRPC_CLIENT_H_
6 #define MSRPC_CLIENT_H_
11 typedef int_fast8_t RpcCtx
;
12 typedef RPC_STATUS RpcStatus
;
14 RpcCtx
connectToAddress(char *const addr
, const int AddressFamily_unused
, int_fast8_t showHostName
);
15 int_fast8_t isDisconnected(const RpcCtx handle
);
16 RpcStatus
rpcBindClient(const RpcCtx handle
, const int_fast8_t verbose
);
17 RpcStatus
rpcSendRequest(const RpcCtx handle
, BYTE
* KmsRequest
, size_t requestSize
, BYTE
**KmsResponse
, size_t *responseSize
);
18 RpcStatus
closeRpc(RpcCtx s
);
20 #define INVALID_RPCCTX ((RpcCtx)~0)
22 #endif /* MSRPC_CLIENT_H_ */