00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id: notifications.h 189 2006-06-16 01:30:37Z martin $ 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_NOTIFICATIONS_H 00015 #define CHIPCARD_CLIENT_NOTIFICATIONS_H 00016 00017 #include <gwenhywfar/types.h> 00018 #include <gwenhywfar/db.h> 00019 #include <gwenhywfar/list2.h> 00020 #include <chipcard2/chipcard2.h> 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 00027 typedef struct LC_NOTIFICATION LC_NOTIFICATION; 00028 00029 GWEN_LIST2_FUNCTION_LIB_DEFS(LC_NOTIFICATION, LC_Notification, CHIPCARD_API) 00030 GWEN_INHERIT_FUNCTION_LIB_DEFS(LC_NOTIFICATION, CHIPCARD_API) 00031 00032 CHIPCARD_API 00033 void LC_Notification_free(LC_NOTIFICATION *n); 00034 00035 CHIPCARD_API 00036 GWEN_TYPE_UINT32 LC_Notification_GetServerId(const LC_NOTIFICATION *n); 00037 CHIPCARD_API 00038 const char *LC_Notification_GetClientId(const LC_NOTIFICATION *n); 00039 CHIPCARD_API 00040 const char *LC_Notification_GetType(const LC_NOTIFICATION *n); 00041 CHIPCARD_API 00042 const char *LC_Notification_GetCode(const LC_NOTIFICATION *n); 00043 CHIPCARD_API 00044 GWEN_DB_NODE *LC_Notification_GetData(const LC_NOTIFICATION *n); 00045 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 00051 00052 #endif /* CHIPCARD_CLIENT_NOTIFICATIONS_H */ 00053
1.5.3