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>
27typedef UINT (*pf_scard_send_fkt_t)(wLog* log, pClientContext*,
wStream*);
29BOOL pf_channel_smartcard_client_new(pClientContext* pc);
30void pf_channel_smartcard_client_free(pClientContext* pc);
32BOOL pf_channel_smartcard_client_reset(pClientContext* pc);
33BOOL pf_channel_smartcard_client_emulate(pClientContext* pc);
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);