20#ifndef FREERDP_LIB_CORE_GATEWAY_RPC_CLIENT_H 
   21#define FREERDP_LIB_CORE_GATEWAY_RPC_CLIENT_H 
   23#include <winpr/wtypes.h> 
   24#include <winpr/stream.h> 
   25#include <freerdp/api.h> 
   31FREERDP_LOCAL 
void rpc_client_call_free(
RpcClientCall* client_call);
 
   33WINPR_ATTR_MALLOC(rpc_client_call_free, 1)
 
   34FREERDP_LOCAL 
RpcClientCall* rpc_client_call_new(UINT32 CallId, UINT32 OpNum);
 
   36FREERDP_LOCAL 
int rpc_in_channel_send_pdu(
RpcInChannel* inChannel, const BYTE* buffer,
 
   39FREERDP_LOCAL 
int rpc_client_in_channel_recv(rdpRpc* rpc);
 
   40FREERDP_LOCAL 
int rpc_client_out_channel_recv(rdpRpc* rpc);
 
   42FREERDP_LOCAL 
int rpc_client_receive_pipe_read(
RpcClient* client, BYTE* buffer, 
size_t length);
 
   44FREERDP_LOCAL BOOL rpc_client_write_call(rdpRpc* rpc, 
wStream* s, UINT16 opnum);
 
   46FREERDP_LOCAL 
void rpc_client_free(
RpcClient* client);
 
   48WINPR_ATTR_MALLOC(rpc_client_free, 1)
 
   49FREERDP_LOCAL 
RpcClient* rpc_client_new(rdpContext* context, UINT32 max_recv_frag);