00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id: balance.h 1009 2006-05-11 19:59:20Z martin $ 00005 begin : Mon Apr 05 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 AQBANKING_BALANCE_H 00015 #define AQBANKING_BALANCE_H 00016 00017 #include <gwenhywfar/gwentime.h> 00018 #include <aqbanking/value.h> 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 typedef struct AB_BALANCE AB_BALANCE; 00025 00026 AQBANKING_API 00027 AB_BALANCE *AB_Balance_new(const AB_VALUE *v, const GWEN_TIME *t); 00028 AQBANKING_API 00029 AB_BALANCE *AB_Balance_fromDb(GWEN_DB_NODE *db); 00030 AQBANKING_API 00031 int AB_Balance_toDb(const AB_BALANCE *b, GWEN_DB_NODE *db); 00032 00033 AQBANKING_API 00034 AB_BALANCE *AB_Balance_dup(const AB_BALANCE *b); 00035 AQBANKING_API 00036 void AB_Balance_free(AB_BALANCE *b); 00037 00038 AQBANKING_API 00039 const AB_VALUE *AB_Balance_GetValue(const AB_BALANCE *b); 00040 AQBANKING_API 00041 const GWEN_TIME *AB_Balance_GetTime(const AB_BALANCE *b); 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 #endif /* AQBANKING_BALANCE_H */ 00048 00049