notifications.h

Go to the documentation of this file.
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 <chipcard3/chipcard3.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 LC_NOTIFICATION *LC_Notification_new(GWEN_TYPE_UINT32 serverId,
00034                                      const char *clientId,
00035                                      const char *ntype,
00036                                      const char *ncode,
00037                                      GWEN_DB_NODE *data);
00038 
00039 CHIPCARD_API
00040 void LC_Notification_free(LC_NOTIFICATION *n);
00041 
00042 CHIPCARD_API
00043 GWEN_TYPE_UINT32 LC_Notification_GetServerId(const LC_NOTIFICATION *n);
00044 CHIPCARD_API
00045 const char *LC_Notification_GetClientId(const LC_NOTIFICATION *n);
00046 CHIPCARD_API
00047 const char *LC_Notification_GetType(const LC_NOTIFICATION *n);
00048 CHIPCARD_API
00049 const char *LC_Notification_GetCode(const LC_NOTIFICATION *n);
00050 CHIPCARD_API
00051 GWEN_DB_NODE *LC_Notification_GetData(const LC_NOTIFICATION *n);
00052 
00053 
00054 #ifdef __cplusplus
00055 }
00056 #endif
00057 
00058 
00059 #endif /* CHIPCARD_CLIENT_NOTIFICATIONS_H */
00060 

Generated on Sat Sep 22 04:43:21 2007 for libchipcard2 by  doxygen 1.5.3