client_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_CLIENT_L_H
00015 #define CHIPCARD_CLIENT_CLIENT_L_H
00016 
00017 #include "client.h"
00018 #include "card.h"
00019 
00020 #include <gwenhywfar/msgengine.h>
00021 
00022 
00023 LC_CLIENT_RESULT LC_Client_ExecApdu(LC_CLIENT *cl,
00024                                     LC_CARD *card,
00025                                     const char *apdu,
00026                                     unsigned int len,
00027                                     GWEN_BUFFER *rbuf,
00028                                     LC_CLIENT_CMDTARGET t,
00029                                     int timeout);
00030 
00031 LC_CLIENT_RESULT LC_Client_BuildApdu(LC_CLIENT *cl,
00032                                      LC_CARD *card,
00033                                      const char *command,
00034                                      GWEN_DB_NODE *cmdData,
00035                                      GWEN_BUFFER *gbuf);
00036 
00037 
00038 LC_CLIENT_RESULT LC_Client_ExecCommand(LC_CLIENT *cl,
00039                                        LC_CARD *card,
00040                                        const char *commandName,
00041                                        GWEN_DB_NODE *cmdData,
00042                                        GWEN_DB_NODE *rspData,
00043                                        int timeout);
00044 
00045 
00046 GWEN_XMLNODE *LC_Client_FindCardCommand(LC_CLIENT *cl,
00047                                         LC_CARD *card,
00048                                         const char *commandName);
00049 
00050 int LC_Client_AddCardTypesByAtr(LC_CLIENT *cl, LC_CARD *card);
00051 
00052 GWEN_XMLNODE *LC_Client_GetAppNode(LC_CLIENT *cl, const char *appName);
00053 
00054 GWEN_XMLNODE *LC_Client_GetCardNode(LC_CLIENT *cl, const char *cardName);
00055 
00056 GWEN_MSGENGINE *LC_Client_GetMsgEngine(const LC_CLIENT *cl);
00057 
00058 int LC_Client_InitCommon();
00059 void LC_Client_FiniCommon();
00060 
00061 GWEN_DB_NODE *LC_Client_GetCommonConfig();
00062 
00063 
00064 #endif /* CHIPCARD_CLIENT_CLIENT_L_H */
00065 
00066 
00067 

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