client_sv.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: client_sv.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_CLIENT_SV_H
00015 #define CHIPCARD_CLIENT_CLIENT_SV_H
00016 
00017 #include <chipcard2-client/client/client_cd.h>
00018 
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022 
00023 
00033 
00034 
00039 GWEN_TYPE_UINT32 LC_Client_SendRequest(LC_CLIENT *cl,
00040                                        LC_CARD *card,
00041                                        GWEN_TYPE_UINT32 serverId,
00042                                        GWEN_DB_NODE *dbReq);
00043 
00044 GWEN_DB_NODE *LC_Client_GetNextResponse(LC_CLIENT *cl,
00045                                         GWEN_TYPE_UINT32 rqid);
00046 GWEN_DB_NODE *LC_Client_WaitForNextResponse(LC_CLIENT *cl,
00047                                             GWEN_TYPE_UINT32 rqid,
00048                                             int timeout);
00049 int LC_Client_CheckForError(GWEN_DB_NODE *db);
00057 GWEN_TYPE_UINT32 LC_Client_SendTakeCard(LC_CLIENT *cl, LC_CARD *cd);
00058 LC_CLIENT_RESULT LC_Client_CheckTakeCard(LC_CLIENT *cl,
00059                                          GWEN_TYPE_UINT32 rid);
00060 
00061 GWEN_TYPE_UINT32 LC_Client_SendReleaseCard(LC_CLIENT *cl, LC_CARD *cd);
00062 LC_CLIENT_RESULT LC_Client_CheckReleaseCard(LC_CLIENT *cl,
00063                                             GWEN_TYPE_UINT32 rid);
00064 
00065 GWEN_TYPE_UINT32 LC_Client_SendSelectCardApp(LC_CLIENT *cl,
00066                                              LC_CARD *cd,
00067                                              const char *cardName,
00068                                              const char *appName);
00069 LC_CLIENT_RESULT LC_Client_CheckSelectCardApp(LC_CLIENT *cl,
00070                                               GWEN_TYPE_UINT32 rid);
00074  /* addtogroup */
00075 
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079 
00080 #endif

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