accstatus.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: accstatus.h 764 2006-01-13 14:00:00Z cstim $
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_ACCSTATUS_H
00015 #define AQBANKING_ACCSTATUS_H
00016 
00017 #include <aqbanking/value.h>
00018 #include <aqbanking/balance.h>
00019 
00020 #include <gwenhywfar/gwentime.h>
00021 #include <gwenhywfar/list2.h>
00022 
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 typedef struct AB_ACCOUNT_STATUS AB_ACCOUNT_STATUS;
00029 
00030 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_ACCOUNT_STATUS, AB_AccountStatus,
00031                              AQBANKING_API)
00032 
00033 
00034 AQBANKING_API 
00035 AB_ACCOUNT_STATUS *AB_AccountStatus_new();
00036 AQBANKING_API 
00037 AB_ACCOUNT_STATUS *AB_AccountStatus_dup(const AB_ACCOUNT_STATUS *as);
00038 AQBANKING_API 
00039 AB_ACCOUNT_STATUS *AB_AccountStatus_fromDb(GWEN_DB_NODE *db);
00040 AQBANKING_API 
00041 int AB_AccountStatus_toDb(const AB_ACCOUNT_STATUS *as, GWEN_DB_NODE *db);
00042 
00043 AQBANKING_API 
00044 void AB_AccountStatus_free(AB_ACCOUNT_STATUS *as);
00045 
00046 
00047 AQBANKING_API 
00048 const GWEN_TIME*
00049   AB_AccountStatus_GetTime(const AB_ACCOUNT_STATUS *as);
00050 AQBANKING_API 
00051 void AB_AccountStatus_SetTime(AB_ACCOUNT_STATUS *as,
00052                               const GWEN_TIME *t);
00053 AQBANKING_API 
00054 const AB_VALUE*
00055   AB_AccountStatus_GetBankLine(const AB_ACCOUNT_STATUS *as);
00056 AQBANKING_API 
00057 void AB_AccountStatus_SetBankLine(AB_ACCOUNT_STATUS *as,
00058                                   const AB_VALUE *v);
00059 
00060 AQBANKING_API 
00061 const AB_VALUE*
00062   AB_AccountStatus_GetDisposable(const AB_ACCOUNT_STATUS *as);
00063 AQBANKING_API 
00064 void AB_AccountStatus_SetDisposable(AB_ACCOUNT_STATUS *as,
00065                                     const AB_VALUE *v);
00066 
00067 AQBANKING_API 
00068 const AB_VALUE*
00069   AB_AccountStatus_GetDisposed(const AB_ACCOUNT_STATUS *as);
00070 AQBANKING_API 
00071 void AB_AccountStatus_SetDisposed(AB_ACCOUNT_STATUS *as,
00072                                   const AB_VALUE *v);
00073 
00074 AQBANKING_API 
00075 const AB_BALANCE*
00076   AB_AccountStatus_GetBookedBalance(const AB_ACCOUNT_STATUS *as);
00077 AQBANKING_API 
00078 void AB_AccountStatus_SetBookedBalance(AB_ACCOUNT_STATUS *as,
00079                                        const AB_BALANCE *b);
00080 
00081 AQBANKING_API 
00082 const AB_BALANCE*
00083   AB_AccountStatus_GetNotedBalance(const AB_ACCOUNT_STATUS *as);
00084 AQBANKING_API 
00085 void AB_AccountStatus_SetNotedBalance(AB_ACCOUNT_STATUS *as,
00086                                       const AB_BALANCE *b);
00087 
00088 
00089 AQBANKING_API 
00090 void AB_AccountStatus_List2_freeAll(AB_ACCOUNT_STATUS_LIST2 *asl);
00091 
00092 
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096 
00097 
00098 #endif /* AQBANKING_ACCSTATUS_H */
00099 
00100 

Generated on Wed Oct 18 16:17:27 2006 for aqbanking by  doxygen 1.4.7