FreeRDP
pf_channel_smartcard.h
1 
21 #ifndef FREERDP_SERVER_PROXY_SCARD_H
22 #define FREERDP_SERVER_PROXY_SCARD_H
23 
24 #include <winpr/wlog.h>
25 #include <freerdp/server/proxy/proxy_context.h>
26 
27 typedef UINT (*pf_scard_send_fkt_t)(wLog* log, pClientContext*, wStream*);
28 
29 BOOL pf_channel_smartcard_client_new(pClientContext* pc);
30 void pf_channel_smartcard_client_free(pClientContext* pc);
31 
32 BOOL pf_channel_smartcard_client_reset(pClientContext* pc);
33 BOOL pf_channel_smartcard_client_emulate(pClientContext* pc);
34 
35 BOOL pf_channel_smartcard_client_handle(wLog* log, pClientContext* pc, wStream* s, wStream* out,
36  pf_scard_send_fkt_t fkt);
37 BOOL pf_channel_smartcard_server_handle(pServerContext* ps, wStream* s);
38 
39 #endif /* FREERDP_SERVER_PROXY_SCARD_H */