aqbanking 5.0.2
|
00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id$ 00005 begin : Mon Apr 05 2004 00006 copyright : (C) 2004 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * This file is part of the project "AqBanking". * 00011 * Please see toplevel file COPYING of that project for license details. * 00012 ***************************************************************************/ 00013 00014 00015 #ifndef AQBANKING_BALANCE_H 00016 #define AQBANKING_BALANCE_H 00017 00018 #include <gwenhywfar/gwentime.h> 00019 #include <aqbanking/value.h> 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00025 typedef struct AB_BALANCE AB_BALANCE; 00026 00027 AQBANKING_API 00028 AB_BALANCE *AB_Balance_new(const AB_VALUE *v, const GWEN_TIME *t); 00029 AQBANKING_API 00030 AB_BALANCE *AB_Balance_fromDb(GWEN_DB_NODE *db); 00031 AQBANKING_API 00032 int AB_Balance_toDb(const AB_BALANCE *b, GWEN_DB_NODE *db); 00033 00034 AQBANKING_API 00035 AB_BALANCE *AB_Balance_dup(const AB_BALANCE *b); 00036 AQBANKING_API 00037 void AB_Balance_free(AB_BALANCE *b); 00038 00039 AQBANKING_API 00040 const AB_VALUE *AB_Balance_GetValue(const AB_BALANCE *b); 00041 AQBANKING_API 00042 void AB_Balance_SetValue(AB_BALANCE *b, const AB_VALUE *v); 00043 AQBANKING_API 00044 const GWEN_TIME *AB_Balance_GetTime(const AB_BALANCE *b); 00045 00046 #ifdef __cplusplus 00047 } 00048 #endif 00049 00050 #endif /* AQBANKING_BALANCE_H */ 00051 00052