49 lines
1.7 KiB
C
49 lines
1.7 KiB
C
/**
|
|
* FreeRDP: A Remote Desktop Protocol Implementation
|
|
* RPC over HTTP (ncacn_http)
|
|
*
|
|
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H
|
|
#define FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H
|
|
|
|
#include <freerdp/types.h>
|
|
#include <freerdp/settings.h>
|
|
|
|
#include <freerdp/crypto/tls.h>
|
|
#include <freerdp/crypto/crypto.h>
|
|
#include <freerdp/api.h>
|
|
|
|
#include <winpr/stream.h>
|
|
|
|
#include "rpc.h"
|
|
#include "http.h"
|
|
|
|
FREERDP_LOCAL int rpc_ncacn_http_ntlm_init(rdpRpc* rpc, RpcChannel* channel);
|
|
FREERDP_LOCAL void rpc_ncacn_http_ntlm_uninit(rdpRpc* rpc, RpcChannel* channel);
|
|
|
|
FREERDP_LOCAL int rpc_ncacn_http_send_in_channel_request(rdpRpc* rpc,
|
|
RpcInChannel* inChannel);
|
|
FREERDP_LOCAL int rpc_ncacn_http_recv_in_channel_response(rdpRpc* rpc,
|
|
RpcInChannel* inChannel, HttpResponse* response);
|
|
|
|
FREERDP_LOCAL int rpc_ncacn_http_send_out_channel_request(rdpRpc* rpc,
|
|
RpcOutChannel* outChannel, BOOL replacement);
|
|
FREERDP_LOCAL int rpc_ncacn_http_recv_out_channel_response(rdpRpc* rpc,
|
|
RpcOutChannel* outChannel, HttpResponse* response);
|
|
|
|
#endif /* FREERDP_LIB_CORE_GATEWAY_NCACN_HTTP_H */
|