pcsc-lite 1.7.2
prothandler.h
Go to the documentation of this file.
00001 /*
00002  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
00003  *
00004  * Copyright (C) 1999
00005  *  David Corcoran <corcoran@linuxnet.com>
00006  * Copyright (C) 2004
00007  *  Ludovic Rousseau <ludovic.rousseau@free.fr>
00008  *
00009  * $Id: prothandler.h 5434 2010-12-08 14:13:21Z rousseau $
00010  */
00011 
00017 #ifndef __prothandler_h__
00018 #define __prothandler_h__
00019 
00020     UCHAR PHGetDefaultProtocol(PUCHAR, DWORD);
00021     UCHAR PHGetAvailableProtocols(PUCHAR, DWORD);
00022     DWORD PHSetProtocol(struct ReaderContext *, DWORD, UCHAR, UCHAR);
00023 
00024 #define SET_PROTOCOL_WRONG_ARGUMENT -1
00025 #define SET_PROTOCOL_PPS_FAILED -2
00026 
00027 #endif                          /* __prothandler_h__ */