Client Interface for Service Implementations
[Libchipcard2 Client Library]

Collaboration diagram for Client Interface for Service Implementations:

Detailed Description

API for Libchipcard2 card implementations.

This group contains the API of Libchipcard2 to be used by implementations of new service types. Functions of this group must not be called by applications.


Generic Request Functions

GWEN_TYPE_UINT32 LC_Client_SendRequest (LC_CLIENT *cl, LC_CARD *card, GWEN_TYPE_UINT32 serverId, GWEN_DB_NODE *dbReq)
GWEN_DB_NODE * LC_Client_GetNextResponse (LC_CLIENT *cl, GWEN_TYPE_UINT32 rqid)
GWEN_DB_NODE * LC_Client_WaitForNextResponse (LC_CLIENT *cl, GWEN_TYPE_UINT32 rqid, int timeout)
int LC_Client_CheckForError (GWEN_DB_NODE *db)

Special Requests

GWEN_TYPE_UINT32 LC_Client_SendTakeCard (LC_CLIENT *cl, LC_CARD *cd)
LC_CLIENT_RESULT LC_Client_CheckTakeCard (LC_CLIENT *cl, GWEN_TYPE_UINT32 rid)
GWEN_TYPE_UINT32 LC_Client_SendReleaseCard (LC_CLIENT *cl, LC_CARD *cd)
LC_CLIENT_RESULT LC_Client_CheckReleaseCard (LC_CLIENT *cl, GWEN_TYPE_UINT32 rid)
GWEN_TYPE_UINT32 LC_Client_SendSelectCardApp (LC_CLIENT *cl, LC_CARD *cd, const char *cardName, const char *appName)
LC_CLIENT_RESULT LC_Client_CheckSelectCardApp (LC_CLIENT *cl, GWEN_TYPE_UINT32 rid)


Function Documentation

int LC_Client_CheckForError ( GWEN_DB_NODE *  db  ) 

LC_CLIENT_RESULT LC_Client_CheckReleaseCard ( LC_CLIENT cl,
GWEN_TYPE_UINT32  rid 
)

LC_CLIENT_RESULT LC_Client_CheckSelectCardApp ( LC_CLIENT cl,
GWEN_TYPE_UINT32  rid 
)

LC_CLIENT_RESULT LC_Client_CheckTakeCard ( LC_CLIENT cl,
GWEN_TYPE_UINT32  rid 
)

GWEN_DB_NODE* LC_Client_GetNextResponse ( LC_CLIENT cl,
GWEN_TYPE_UINT32  rqid 
)

GWEN_TYPE_UINT32 LC_Client_SendReleaseCard ( LC_CLIENT cl,
LC_CARD cd 
)

GWEN_TYPE_UINT32 LC_Client_SendRequest ( LC_CLIENT cl,
LC_CARD card,
GWEN_TYPE_UINT32  serverId,
GWEN_DB_NODE *  dbReq 
)

GWEN_TYPE_UINT32 LC_Client_SendSelectCardApp ( LC_CLIENT cl,
LC_CARD cd,
const char *  cardName,
const char *  appName 
)

GWEN_TYPE_UINT32 LC_Client_SendTakeCard ( LC_CLIENT cl,
LC_CARD cd 
)

GWEN_DB_NODE* LC_Client_WaitForNextResponse ( LC_CLIENT cl,
GWEN_TYPE_UINT32  rqid,
int  timeout 
)


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