aqbanking  5.7.8
balance.h
Go to the documentation of this file.
1 /***************************************************************************
2  $RCSfile$
3  -------------------
4  cvs : $Id$
5  begin : Mon Apr 05 2004
6  copyright : (C) 2004 by Martin Preuss
7  email : martin@libchipcard.de
8 
9  ***************************************************************************
10  * This file is part of the project "AqBanking". *
11  * Please see toplevel file COPYING of that project for license details. *
12  ***************************************************************************/
13 
14 
15 #ifndef AQBANKING_BALANCE_H
16 #define AQBANKING_BALANCE_H
17 
18 #include <gwenhywfar/gwentime.h>
19 #include <aqbanking/value.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 typedef struct AB_BALANCE AB_BALANCE;
26 
28 AB_BALANCE *AB_Balance_new(const AB_VALUE *v, const GWEN_TIME *t);
30 AB_BALANCE *AB_Balance_fromDb(GWEN_DB_NODE *db);
32 int AB_Balance_toDb(const AB_BALANCE *b, GWEN_DB_NODE *db);
33 
38 
40 const AB_VALUE *AB_Balance_GetValue(const AB_BALANCE *b);
42 void AB_Balance_SetValue(AB_BALANCE *b, const AB_VALUE *v);
44 const GWEN_TIME *AB_Balance_GetTime(const AB_BALANCE *b);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* AQBANKING_BALANCE_H */
51 
52 
AB_BALANCE * AB_Balance_fromDb(GWEN_DB_NODE *db)
AB_BALANCE * AB_Balance_new(const AB_VALUE *v, const GWEN_TIME *t)
#define AQBANKING_API
Definition: error.h:55
struct AB_VALUE AB_VALUE
Definition: value.h:32
int AB_Balance_toDb(const AB_BALANCE *b, GWEN_DB_NODE *db)
void AB_Balance_free(AB_BALANCE *b)
const GWEN_TIME * AB_Balance_GetTime(const AB_BALANCE *b)
const AB_VALUE * AB_Balance_GetValue(const AB_BALANCE *b)
struct AB_BALANCE AB_BALANCE
Definition: balance.h:25
void AB_Balance_SetValue(AB_BALANCE *b, const AB_VALUE *v)
AB_BALANCE * AB_Balance_dup(const AB_BALANCE *b)