2012-08-16 02:01:06 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Client
|
|
|
|
* FreeRDP Windows Server
|
|
|
|
*
|
|
|
|
* 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 WF_PEER_H
|
|
|
|
#define WF_PEER_H
|
|
|
|
|
2012-09-16 06:19:26 +04:00
|
|
|
#include "wf_interface.h"
|
2012-09-06 04:03:07 +04:00
|
|
|
|
2012-09-16 04:29:33 +04:00
|
|
|
#include <freerdp/listener.h>
|
2012-08-16 02:01:06 +04:00
|
|
|
|
2012-09-17 01:38:33 +04:00
|
|
|
|
|
|
|
|
2012-08-16 02:01:06 +04:00
|
|
|
void wf_peer_context_new(freerdp_peer* client, wfPeerContext* context);
|
|
|
|
void wf_peer_context_free(freerdp_peer* client, wfPeerContext* context);
|
|
|
|
|
|
|
|
void wf_peer_init(freerdp_peer* client);
|
|
|
|
|
2012-09-18 01:05:42 +04:00
|
|
|
void wf_dxgi_encode(freerdp_peer* client, UINT timeout);
|
2012-08-18 00:24:56 +04:00
|
|
|
void wf_rfx_encode(freerdp_peer* client);
|
2012-08-16 02:01:06 +04:00
|
|
|
|
|
|
|
boolean wf_peer_post_connect(freerdp_peer* client);
|
|
|
|
boolean wf_peer_activate(freerdp_peer* client);
|
|
|
|
|
|
|
|
void wf_peer_synchronize_event(rdpInput* input, uint32 flags);
|
|
|
|
|
2012-09-03 01:09:36 +04:00
|
|
|
void wf_peer_send_changes(freerdp_peer* client);
|
2012-09-18 01:57:21 +04:00
|
|
|
|
2012-09-04 02:38:51 +04:00
|
|
|
void wf_detect_win_ver();
|
2012-09-18 01:57:21 +04:00
|
|
|
|
2012-09-16 04:29:33 +04:00
|
|
|
void wf_peer_accepted(freerdp_listener* instance, freerdp_peer* client);
|
|
|
|
|
|
|
|
DWORD WINAPI wf_peer_main_loop(LPVOID lpParam);
|
2012-09-18 01:57:21 +04:00
|
|
|
|
2012-09-04 02:38:51 +04:00
|
|
|
|
2012-08-16 02:01:06 +04:00
|
|
|
#endif /* WF_PEER_H */
|