readerpcsc_l.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: client_p.h 137 2005-11-03 13:07:50Z aquamaniac $
00005     begin       : Mon Mar 01 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 
00014 #ifndef CHIPCARD_CLIENT_READERPCSC_L_H
00015 #define CHIPCARD_CLIENT_READERPCSC_L_H
00016 
00017 #include <gwenhywfar/misc.h>
00018 
00019 #include <chipcard3/client/card.h>
00020 
00021 
00022 #define LC_READER_PCSC_MAX_FEATURES 32
00023 
00024 
00025 typedef struct LC_READER_PCSC LC_READER_PCSC;
00026 
00027 GWEN_LIST_FUNCTION_DEFS(LC_READER_PCSC, LC_ReaderPcsc)
00028 
00029 
00030 
00031 LC_READER_PCSC *LC_ReaderPcsc_new(const char *rname);
00032 void LC_ReaderPcsc_free(LC_READER_PCSC *r);
00033 
00034 const char *LC_ReaderPcsc_GetReaderName(const LC_READER_PCSC *r);
00035 
00036 const char *LC_ReaderPcsc_GetReaderType(const LC_READER_PCSC *r);
00037 void LC_ReaderPcsc_SetReaderType(LC_READER_PCSC *r,
00038                                  const char *rtype);
00039 
00040 LC_CARD *LC_ReaderPcsc_GetCurrentCard(const LC_READER_PCSC *r);
00041 void LC_ReaderPcsc_SetCurrentCard(LC_READER_PCSC *r, LC_CARD *card);
00042 
00043 GWEN_TYPE_UINT32 LC_ReaderPcsc_GetFeatureCode(const LC_READER_PCSC *r,
00044                                               int idx);
00045 
00046 void LC_ReaderPcsc_SetFeatureCode(LC_READER_PCSC *r,
00047                                   int idx,
00048                                   GWEN_TYPE_UINT32 code);
00049 
00050 
00051 #endif /* CHIPCARD_CLIENT_READERPCSC_L_H */
00052 

Generated on Sat Sep 22 04:43:21 2007 for libchipcard2 by  doxygen 1.5.3