mirror of
https://github.com/Wind4/vlmcsd.git
synced 2026-05-26 23:31:23 +02:00
vlmcsd-svn1065-2016-10-12-Hotbird64
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* msrpc-client.h
|
||||
*/
|
||||
|
||||
#ifdef USE_MSRPC
|
||||
#ifndef MSRPC_CLIENT_H_
|
||||
#define MSRPC_CLIENT_H_
|
||||
|
||||
#include "types.h"
|
||||
#include <setjmp.h>
|
||||
#include "output.h"
|
||||
|
||||
typedef int_fast8_t RpcCtx;
|
||||
typedef RPC_STATUS RpcStatus;
|
||||
|
||||
RpcCtx connectToAddress(char *const addr, const int AddressFamily_unused, int_fast8_t showHostName);
|
||||
int_fast8_t isDisconnected(const RpcCtx handle);
|
||||
RpcStatus rpcBindClient(const RpcCtx handle, const int_fast8_t verbose);
|
||||
RpcStatus rpcSendRequest(const RpcCtx handle, BYTE* KmsRequest, size_t requestSize, BYTE **KmsResponse, size_t *responseSize);
|
||||
RpcStatus closeRpc(RpcCtx s);
|
||||
|
||||
#define INVALID_RPCCTX ((RpcCtx)~0)
|
||||
#endif // USE_MSRPC
|
||||
|
||||
#endif /* MSRPC_CLIENT_H_ */
|
||||
Reference in New Issue
Block a user