20 #ifndef FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
21 #define FREERDP_SERVER_SAMPLE_SFREERDP_SERVER_H
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>
31 #if defined(CHANNEL_AUDIN_SERVER)
32 #include <freerdp/server/audin.h>
34 #include <freerdp/server/rdpsnd.h>
35 #include <freerdp/server/encomsp.h>
36 #include <freerdp/transport_io.h>
38 #include <winpr/crt.h>
39 #include <winpr/synch.h>
40 #include <winpr/thread.h>
41 #include <winpr/image.h>
47 RFX_CONTEXT* rfx_context;
48 NSC_CONTEXT* nsc_context;
58 HANDLE debug_channel_thread;
59 #if defined(CHANNEL_AUDIN_SERVER)
60 audin_server_context* audin;
63 #if defined(CHANNEL_AINPUT_SERVER)
64 ainput_server_context* ainput;
68 RdpsndServerContext* rdpsnd;
69 EncomspServerContext* encomsp;