00001
00002
00003
00004 #ifndef USER_H
00005 #define USER_H
00006
00092 #ifdef __cplusplus
00093 extern "C" {
00094 #endif
00095
00096 typedef struct AB_USER AB_USER;
00097
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101
00102 #include <gwenhywfar/db.h>
00103 #include <gwenhywfar/inherit.h>
00104 #include <gwenhywfar/list2.h>
00105
00106 #include <gwenhywfar/types.h>
00107 #include <gwenhywfar/fslock.h>
00108 #include <aqbanking/error.h>
00109
00110 #ifdef __cplusplus
00111 extern "C" {
00112 #endif
00113
00114
00115 GWEN_INHERIT_FUNCTION_LIB_DEFS(AB_USER, AQBANKING_API)
00116 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_USER, AB_User, AQBANKING_API)
00117
00120 AQBANKING_API void AB_User_List2_freeAll(AB_USER_LIST2 *stl);
00121
00122
00123 #include <aqbanking/banking.h>
00124 #include <aqbanking/userfns.h>
00125
00128 AQBANKING_API void AB_User_free(AB_USER *st);
00131 AQBANKING_API void AB_User_Attach(AB_USER *st);
00134 AQBANKING_API int AB_User_ReadDb(AB_USER *st, GWEN_DB_NODE *db);
00137 AQBANKING_API int AB_User_toDb(const AB_USER*st, GWEN_DB_NODE *db);
00140 AQBANKING_API int AB_User_IsModified(const AB_USER *st);
00143 AQBANKING_API void AB_User_SetModified(AB_USER *st, int i);
00144
00145
00146
00147
00151 AQBANKING_API uint32_t AB_User_GetUniqueId(const AB_USER *el);
00155 AQBANKING_API void AB_User_SetUniqueId(AB_USER *el, uint32_t d);
00156
00160 AQBANKING_API const char *AB_User_GetBackendName(const AB_USER *el);
00164 AQBANKING_API void AB_User_SetBackendName(AB_USER *el, const char *d);
00165
00169 AQBANKING_API const char *AB_User_GetUserName(const AB_USER *el);
00173 AQBANKING_API void AB_User_SetUserName(AB_USER *el, const char *d);
00174
00178 AQBANKING_API const char *AB_User_GetUserId(const AB_USER *el);
00182 AQBANKING_API void AB_User_SetUserId(AB_USER *el, const char *d);
00183
00187 AQBANKING_API const char *AB_User_GetCustomerId(const AB_USER *el);
00191 AQBANKING_API void AB_User_SetCustomerId(AB_USER *el, const char *d);
00192
00196 AQBANKING_API const char *AB_User_GetCountry(const AB_USER *el);
00200 AQBANKING_API void AB_User_SetCountry(AB_USER *el, const char *d);
00201
00205 AQBANKING_API const char *AB_User_GetBankCode(const AB_USER *el);
00209 AQBANKING_API void AB_User_SetBankCode(AB_USER *el, const char *d);
00210
00214 AQBANKING_API uint32_t AB_User_GetLastSessionId(const AB_USER *el);
00218 AQBANKING_API void AB_User_SetLastSessionId(AB_USER *el, uint32_t d);
00219
00220
00221
00225 AQBANKING_API AB_BANKING *AB_User_GetBanking(const AB_USER *el);
00229 AQBANKING_API void AB_User_SetBanking(AB_USER *el, AB_BANKING *d);
00230
00231
00232 #ifdef __cplusplus
00233 }
00234 #endif
00235
00236
00237 #endif