mirror of https://github.com/Wind4/vlmcsd
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
621 B
C
23 lines
621 B
C
9 years ago
|
/*
|
||
|
* msrpc-client.h
|
||
|
*/
|
||
|
|
||
|
#ifndef MSRPC_CLIENT_H_
|
||
|
#define MSRPC_CLIENT_H_
|
||
|
|
||
|
#include "types.h"
|
||
|
#include <setjmp.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 /* MSRPC_CLIENT_H_ */
|