pcsc-lite 1.5.5
|
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 1421 2005-04-12 12:09:21Z rousseau $ 00010 */ 00011 00017 #ifndef __prothandler_h__ 00018 #define __prothandler_h__ 00019 00020 #ifdef __cplusplus 00021 extern "C" 00022 { 00023 #endif 00024 00025 UCHAR PHGetDefaultProtocol(PUCHAR, DWORD); 00026 UCHAR PHGetAvailableProtocols(PUCHAR, DWORD); 00027 DWORD PHSetProtocol(struct ReaderContext *, DWORD, UCHAR, UCHAR); 00028 00029 #define SET_PROTOCOL_WRONG_ARGUMENT -1 00030 #define SET_PROTOCOL_PPS_FAILED -2 00031 00032 #ifdef __cplusplus 00033 } 00034 #endif 00035 00036 #endif /* __prothandler_h__ */