FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
server/drdynvc.h
1
22#ifndef FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
23#define FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H
24
25#include <freerdp/api.h>
26#include <freerdp/types.h>
27#include <freerdp/channels/wtsvc.h>
28
29#ifdef __cplusplus
30extern "C"
31{
32#endif
33
38 typedef struct s_drdynvc_server_context DrdynvcServerContext;
39 typedef struct s_drdynvc_server_private DrdynvcServerPrivate;
40
41 typedef UINT (*psDrdynvcStart)(DrdynvcServerContext* context);
42 typedef UINT (*psDrdynvcStop)(DrdynvcServerContext* context);
43
45 {
46 HANDLE vcm;
47
48 psDrdynvcStart Start;
49 psDrdynvcStop Stop;
50
51 DrdynvcServerPrivate* priv;
52 };
53
54 FREERDP_API void drdynvc_server_context_free(DrdynvcServerContext* context);
55
56 WINPR_ATTR_MALLOC(drdynvc_server_context_free, 1)
57 FREERDP_API DrdynvcServerContext* drdynvc_server_context_new(HANDLE vcm);
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif /* FREERDP_CHANNEL_DRDYNVC_SERVER_DRDYNVC_H */