00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id$ 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_CARD_GELDKARTE_H 00015 #define CHIPCARD_CARD_GELDKARTE_H 00016 00017 #include <chipcard/client/card.h> 00018 #include <chipcard/client/cards/geldkarte_blog.h> 00019 #include <chipcard/client/cards/geldkarte_llog.h> 00020 #include <chipcard/client/cards/geldkarte_values.h> 00021 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 00032 00042 CHIPCARD_API int LC_GeldKarte_ExtendCard(LC_CARD *card); 00043 00050 CHIPCARD_API int LC_GeldKarte_UnextendCard(LC_CARD *card); 00051 00058 CHIPCARD_API LC_CLIENT_RESULT LC_GeldKarte_Reopen(LC_CARD *card); 00069 CHIPCARD_API LC_CLIENT_RESULT LC_GeldKarte_VerifyPin(LC_CARD *card, 00070 const char *pin); 00071 00076 CHIPCARD_API LC_CLIENT_RESULT LC_GeldKarte_SecureVerifyPin(LC_CARD *card); 00086 CHIPCARD_API GWEN_DB_NODE *LC_GeldKarte_GetCardDataAsDb(const LC_CARD *card); 00087 00093 CHIPCARD_API 00094 GWEN_BUFFER *LC_GeldKarte_GetCardDataAsBuffer(const LC_CARD *card); 00095 00099 CHIPCARD_API 00100 GWEN_DB_NODE *LC_GeldKarte_GetAccountDataAsDb(const LC_CARD *card); 00101 00107 CHIPCARD_API 00108 GWEN_BUFFER *LC_GeldKarte_GetAccountDataAsBuffer(const LC_CARD *card); 00120 CHIPCARD_API 00121 LC_CLIENT_RESULT LC_GeldKarte_ReadValues(LC_CARD *card, 00122 LC_GELDKARTE_VALUES *val); 00123 00129 CHIPCARD_API 00130 LC_CLIENT_RESULT LC_GeldKarte_ReadBLogs(LC_CARD *card, 00131 LC_GELDKARTE_BLOG_LIST2 *bll); 00132 00139 CHIPCARD_API 00140 LC_CLIENT_RESULT LC_GeldKarte_ReadLLogs(LC_CARD *card, 00141 LC_GELDKARTE_LLOG_LIST2 *bll); 00144 /* defgroup */ 00145 00146 00147 #ifdef __cplusplus 00148 } 00149 #endif 00150 00151 00152 #endif /* CHIPCARD_CARD_GELDKARTE_H */ 00153 00154