00001 /*************************************************************************** 00002 $RCSfile: accstatus.h,v $ 00003 ------------------- 00004 cvs : $Id: accstatus.h,v 1.3 2004/08/18 16:32:00 aquamaniac Exp $ 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 <gwenhywfar/gwentime.h> 00018 #include <aqbanking/value.h> 00019 #include <aqbanking/balance.h> 00020 00021 #ifdef __cplusplus 00022 extern "C" { 00023 #endif 00024 00025 typedef struct AB_ACCOUNT_STATUS AB_ACCOUNT_STATUS; 00026 00027 00028 AQBANKING_API 00029 AB_ACCOUNT_STATUS *AB_AccountStatus_new(); 00030 AQBANKING_API 00031 AB_ACCOUNT_STATUS *AB_AccountStatus_dup(const AB_ACCOUNT_STATUS *as); 00032 AQBANKING_API 00033 AB_ACCOUNT_STATUS *AB_AccountStatus_fromDb(GWEN_DB_NODE *db); 00034 AQBANKING_API 00035 int AB_AccountStatus_toDb(const AB_ACCOUNT_STATUS *as, GWEN_DB_NODE *db); 00036 00037 AQBANKING_API 00038 void AB_AccountStatus_free(AB_ACCOUNT_STATUS *as); 00039 00040 00041 AQBANKING_API 00042 const GWEN_TIME* 00043 AB_AccountStatus_GetTime(const AB_ACCOUNT_STATUS *as); 00044 AQBANKING_API 00045 void AB_AccountStatus_SetTime(AB_ACCOUNT_STATUS *as, 00046 const GWEN_TIME *t); 00047 AQBANKING_API 00048 const AB_VALUE* 00049 AB_AccountStatus_GetBankLine(const AB_ACCOUNT_STATUS *as); 00050 AQBANKING_API 00051 void AB_AccountStatus_SetBankLine(AB_ACCOUNT_STATUS *as, 00052 const AB_VALUE *v); 00053 00054 AQBANKING_API 00055 const AB_VALUE* 00056 AB_AccountStatus_GetDisposable(const AB_ACCOUNT_STATUS *as); 00057 AQBANKING_API 00058 void AB_AccountStatus_SetDisposable(AB_ACCOUNT_STATUS *as, 00059 const AB_VALUE *v); 00060 00061 AQBANKING_API 00062 const AB_VALUE* 00063 AB_AccountStatus_GetDisposed(const AB_ACCOUNT_STATUS *as); 00064 AQBANKING_API 00065 void AB_AccountStatus_SetDisposed(AB_ACCOUNT_STATUS *as, 00066 const AB_VALUE *v); 00067 00068 AQBANKING_API 00069 const AB_BALANCE* 00070 AB_AccountStatus_GetBookedBalance(const AB_ACCOUNT_STATUS *as); 00071 AQBANKING_API 00072 void AB_AccountStatus_SetBookedBalance(AB_ACCOUNT_STATUS *as, 00073 const AB_BALANCE *b); 00074 00075 AQBANKING_API 00076 const AB_BALANCE* 00077 AB_AccountStatus_GetNotedBalance(const AB_ACCOUNT_STATUS *as); 00078 AQBANKING_API 00079 void AB_AccountStatus_SetNotedBalance(AB_ACCOUNT_STATUS *as, 00080 const AB_BALANCE *b); 00081 00082 00083 #ifdef __cplusplus 00084 } 00085 #endif 00086 00087 00088 #endif /* AQBANKING_ACCSTATUS_H */ 00089 00090