21 #ifndef FREERDP_SERVER_PROXY_SCARD_H
22 #define FREERDP_SERVER_PROXY_SCARD_H
24 #include <winpr/wlog.h>
25 #include <freerdp/server/proxy/proxy_context.h>
27 typedef UINT (*pf_scard_send_fkt_t)(wLog* log, pClientContext*,
wStream*);
29 BOOL pf_channel_smartcard_client_new(pClientContext* pc);
30 void pf_channel_smartcard_client_free(pClientContext* pc);
32 BOOL pf_channel_smartcard_client_reset(pClientContext* pc);
33 BOOL pf_channel_smartcard_client_emulate(pClientContext* pc);
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);