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 LC_MON_MONITOR_H 00015 #define LC_MON_MONITOR_H 00016 00021 00022 typedef struct LCM_MONITOR LCM_MONITOR; 00023 00024 #include <chipcard/chipcard.h> 00025 #include <chipcard/client/mon/server.h> 00026 #include <gwenhywfar/misc.h> 00027 #include <gwenhywfar/list2.h> 00028 #include <time.h> 00029 00030 00031 CHIPCARD_API 00032 LCM_SERVER_LIST *LCM_Monitor_GetServers(const LCM_MONITOR *mm); 00033 00034 00035 CHIPCARD_API 00036 time_t LCM_Monitor_GetLastChangeTime(const LCM_MONITOR *mm); 00037 00038 00039 CHIPCARD_API 00040 LCM_SERVER *LCM_Monitor_FindServer(const LCM_MONITOR *mm, 00041 uint32_t serverId); 00042 00043 00044 CHIPCARD_API 00045 LCM_DRIVER *LCM_Monitor_FindDriver(const LCM_MONITOR *mm, 00046 uint32_t serverId, 00047 const char *driverId); 00048 00049 CHIPCARD_API 00050 LCM_READER *LCM_Monitor_FindReader(const LCM_MONITOR *mm, 00051 uint32_t serverId, 00052 const char *readerId); 00053 00054 /* defgroup */ 00056 00057 #endif 00058