FreeRDP
Loading...
Searching...
No Matches
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
27typedef UINT (*pf_scard_send_fkt_t)(wLog* log, pClientContext*, wStream*);
28
29BOOL pf_channel_smartcard_client_new(pClientContext* pc);
30void pf_channel_smartcard_client_free(pClientContext* pc);
31
32BOOL pf_channel_smartcard_client_reset(pClientContext* pc);
33BOOL pf_channel_smartcard_client_emulate(pClientContext* pc);
34
35BOOL pf_channel_smartcard_client_handle(wLog* log, pClientContext* pc, wStream* s, wStream* out,
36 pf_scard_send_fkt_t fkt);
37BOOL pf_channel_smartcard_server_handle(pServerContext* ps, wStream* s);
38
39#endif /* FREERDP_SERVER_PROXY_SCARD_H */