FreeRDP
sfreerdp.h
1 
20 #ifndef FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
21 #define FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
22 
23 #include <freerdp/freerdp.h>
24 #include <freerdp/listener.h>
25 #include <freerdp/codec/rfx.h>
26 #include <freerdp/codec/nsc.h>
27 #include <freerdp/channels/wtsvc.h>
28 #if defined(CHANNEL_AINPUT_SERVER)
29 #include <freerdp/server/ainput.h>
30 #endif
31 #if defined(CHANNEL_AUDIN_SERVER)
32 #include <freerdp/server/audin.h>
33 #endif
34 #include <freerdp/server/rdpsnd.h>
35 #include <freerdp/server/encomsp.h>
36 #include <freerdp/transport_io.h>
37 
38 #include <winpr/crt.h>
39 #include <winpr/synch.h>
40 #include <winpr/thread.h>
41 #include <winpr/image.h>
42 
44 {
45  rdpContext _p;
46 
47  RFX_CONTEXT* rfx_context;
48  NSC_CONTEXT* nsc_context;
49  wStream* s;
50  BYTE* bg_data;
51  UINT32 icon_x;
52  UINT32 icon_y;
53  BOOL activated;
54  HANDLE event;
55  HANDLE stopEvent;
56  HANDLE vcm;
57  void* debug_channel;
58  HANDLE debug_channel_thread;
59 #if defined(CHANNEL_AUDIN_SERVER)
60  audin_server_context* audin;
61 #endif
62  BOOL audin_open;
63 #if defined(CHANNEL_AINPUT_SERVER)
64  ainput_server_context* ainput;
65  BOOL ainput_open;
66 #endif
67  UINT32 frame_id;
68  RdpsndServerContext* rdpsnd;
69  EncomspServerContext* encomsp;
70 
71  rdpTransportIo io;
72  wImage* image;
73 };
74 typedef struct test_peer_context testPeerContext;
75 
76 #endif /* FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H */