card_l.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: card_l.h 163 2006-02-15 19:31:45Z 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_CARD_L_H
00015 #define CHIPCARD_CLIENT_CARD_L_H
00016 
00017 
00018 #include <chipcard2-client/client/card.h>
00019 #include <chipcard2-client/client/client_cd.h>
00020 #include <chipcard2-client/client/client_sv.h>
00021 #include "apps/cardcontext_l.h"
00022 
00023 
00024 GWEN_LIST_FUNCTION_DEFS(LC_CARD, LC_Card)
00025 
00026 LC_CARD *LC_Card_new(LC_CLIENT *cl,
00027                      GWEN_TYPE_UINT32 cardId,
00028                      GWEN_TYPE_UINT32 serverId,
00029                      const char *cardType,
00030                      GWEN_TYPE_UINT32 rflags,
00031                      GWEN_BUFFER *atr);
00032 
00033 LC_CARDCONTEXT *LC_Card_GetContext(const LC_CARD *cd);
00034 void LC_Card_SetContext(LC_CARD *cd, LC_CARDCONTEXT *ctx);
00035 
00036 void LC_Card_ResetCardId(LC_CARD *cd);
00037 
00038 GWEN_TYPE_UINT32 LC_Card_GetServerId(const LC_CARD *cd);
00039 void LC_Card_SetCardType(LC_CARD *cd, const char *ct);
00040 
00041 void LC_Card_SetLastResult(LC_CARD *cd,
00042                            const char *result,
00043                            const char *text,
00044                            int sw1, int sw2);
00045 
00046 int LC_Card_AddCardType(LC_CARD *cd, const char *s);
00047 
00048 
00049 #endif /* CHIPCARD_CLIENT_CARD_L_H */
00050 
00051 

Generated on Sun Sep 23 14:52:31 2007 for libchipcard2 by  doxygen 1.5.3