FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
client/drdynvc.h
1
22#ifndef FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H
23#define FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H
24
25#ifdef __cplusplus
26extern "C"
27{
28#endif
29
34 typedef struct s_drdynvc_client_context DrdynvcClientContext;
35
36 typedef int (*pcDrdynvcGetVersion)(DrdynvcClientContext* context);
37 typedef UINT (*pcDrdynvcOnChannelConnected)(DrdynvcClientContext* context, const char* name,
38 void* pInterface);
39 typedef UINT (*pcDrdynvcOnChannelDisconnected)(DrdynvcClientContext* context, const char* name,
40 void* pInterface);
41 typedef UINT (*pcDrdynvcOnChannelAttached)(DrdynvcClientContext* context, const char* name,
42 void* pInterface);
43 typedef UINT (*pcDrdynvcOnChannelDetached)(DrdynvcClientContext* context, const char* name,
44 void* pInterface);
45
47 {
48 void* handle;
49 void* custom;
50
51 pcDrdynvcGetVersion GetVersion;
52 pcDrdynvcOnChannelConnected OnChannelConnected;
53 pcDrdynvcOnChannelDisconnected OnChannelDisconnected;
54 pcDrdynvcOnChannelAttached OnChannelAttached;
55 pcDrdynvcOnChannelDetached OnChannelDetached;
56 };
57
58#ifdef __cplusplus
59}
60#endif
61
62#endif /* FREERDP_CHANNEL_DRDYNVC_CLIENT_DRDYNVC_H */