spice/server/smartcard.h
Christophe Fergeau 8a1ceb65fa use foo(void) instead of foo() in prototypes
In C, the latter isn't a prototype for a function with no arg,
but declares a function with an undefined number of args.
2011-05-02 11:24:44 +02:00

19 lines
455 B
C

#ifndef __SMART_CARD_H__
#define __SMART_CARD_H__
#include "server/spice-experimental.h"
// Maximal length of APDU
#define APDUBufSize 270
/** connect to smartcard interface, used by smartcard channel
* returns -1 if failed, 0 if successfull
*/
int smartcard_device_connect(SpiceCharDeviceInstance *char_device);
void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device);
void smartcard_channel_init(void);
#endif // __SMART_CARD_H__