FreeRDP
smartcard_main.h
1 
23 #ifndef FREERDP_CHANNEL_SMARTCARD_CLIENT_MAIN_H
24 #define FREERDP_CHANNEL_SMARTCARD_CLIENT_MAIN_H
25 
26 #include <freerdp/channels/log.h>
27 #include <freerdp/channels/rdpdr.h>
28 
29 #include <winpr/crt.h>
30 #include <winpr/wlog.h>
31 #include <winpr/synch.h>
32 #include <winpr/smartcard.h>
33 #include <winpr/collections.h>
34 
35 #include <freerdp/utils/smartcard_operations.h>
36 #include <freerdp/utils/smartcard_call.h>
37 
38 #define TAG CHANNELS_TAG("smartcard.client")
39 
40 typedef struct
41 {
42  DEVICE device;
43 
44  HANDLE thread;
45  scard_call_context* callctx;
46  wMessageQueue* IrpQueue;
47  wListDictionary* rgOutstandingMessages;
48  rdpContext* rdpcontext;
50 
51 typedef struct
52 {
53  HANDLE thread;
54  SCARDCONTEXT hContext;
55  wMessageQueue* IrpQueue;
56  SMARTCARD_DEVICE* smartcard;
58 
59 #endif /* FREERDP_CHANNEL_SMARTCARD_CLIENT_MAIN_H */