switch.h File Reference

#include <gwenhywfar/inherit.h>
#include <chipcard/chipcard.h>
#include <chipcard/client/client.h>
Include dependency graph for switch.h:

Go to the source code of this file.

Functions

CHIPCARD_API LC_CLIENTLC_Client_new (const char *programName, const char *programVersion)
CHIPCARD_API LC_CLIENTLC_Client_Factory (const char *resmgr, const char *programName, const char *programVersion)
CHIPCARD_API void LC_Client_Version (int *major, int *minor, int *patchlevel, int *build)

Function Documentation

CHIPCARD_API LC_CLIENT* LC_Client_new ( const char *  programName,
const char *  programVersion 
)

This function creates a libchipcard client. It loads the client configuration file an reads the variable resmgr to determine which ressource manager to use (defaults to lcc on Linux).

Parameters:
programName name of the program which wants to create the client
programVersion version string of that program
CHIPCARD_API LC_CLIENT* LC_Client_Factory ( const char *  resmgr,
const char *  programName,
const char *  programVersion 
)

This function creates a libchipcard client which uses the given ressource manager.

Parameters:
resmgr Currently supported names are "lcc" and "pcsc"
programName name of the program which wants to create the client
programVersion version string of that program
CHIPCARD_API void LC_Client_Version ( int *  major,
int *  minor,
int *  patchlevel,
int *  build 
)
Generated on Mon Jul 5 23:17:17 2010 for libchipcard by  doxygen 1.6.3