/* * MUSCLE SmartCard Development ( http://www.linuxnet.com ) * * Copyright (C) 1999 * David Corcoran * Copyright (C) 2004 * Ludovic Rousseau * * $Id: prothandler.h 1421 2005-04-12 12:09:21Z rousseau $ */ /** * @file * @brief This handles protocol defaults, PTS, etc. */ #ifndef __prothandler_h__ #define __prothandler_h__ #ifdef __cplusplus extern "C" { #endif UCHAR PHGetDefaultProtocol(PUCHAR, DWORD); UCHAR PHGetAvailableProtocols(PUCHAR, DWORD); DWORD PHSetProtocol(struct ReaderContext *, DWORD, UCHAR, UCHAR); #define SET_PROTOCOL_WRONG_ARGUMENT -1 #define SET_PROTOCOL_PPS_FAILED -2 #ifdef __cplusplus } #endif #endif /* __prothandler_h__ */