Logo Search packages:      
Sourcecode: pcsc-lite version File versions

prothandler.h

Go to the documentation of this file.
/*
 * MUSCLE SmartCard Development ( http://www.linuxnet.com )
 *
 * Copyright (C) 1999
 *  David Corcoran <corcoran@linuxnet.com>
 * Copyright (C) 2004
 *  Ludovic Rousseau <ludovic.rousseau@free.fr>
 *
 * $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__ */

Generated by  Doxygen 1.6.0   Back to index