aqbanking  5.7.8
message.h
Go to the documentation of this file.
1 /* This file is auto-generated from "message.xml" by the typemaker
2  tool of Gwenhywfar.
3  Do not edit this file -- all changes will be lost! */
4 #ifndef MESSAGE_H
5 #define MESSAGE_H
6 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 typedef struct AB_MESSAGE AB_MESSAGE;
60 
61 #ifdef __cplusplus
62 } /* __cplusplus */
63 #endif
64 
65 #include <gwenhywfar/db.h>
66 #include <gwenhywfar/misc.h>
67 #include <gwenhywfar/list2.h>
68 /* headers */
69 #include <gwenhywfar/types.h>
70 #include <gwenhywfar/gwentime.h>
71 #include <aqbanking/error.h>
72 
73 #ifdef __cplusplus
74 extern "C" {
75 #endif
76 
77 
80 
82 
83 
86 
92 AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db);
104 AQBANKING_API int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db);
107 AQBANKING_API int AB_Message_toDb(const AB_MESSAGE*st, GWEN_DB_NODE *db);
114 
118 AQBANKING_API uint32_t AB_Message_GetUserId(const AB_MESSAGE *el);
122 AQBANKING_API void AB_Message_SetUserId(AB_MESSAGE *el, uint32_t d);
123 
131 AQBANKING_API void AB_Message_SetAccountId(AB_MESSAGE *el, uint32_t d);
132 
136 AQBANKING_API const char *AB_Message_GetSubject(const AB_MESSAGE *el);
140 AQBANKING_API void AB_Message_SetSubject(AB_MESSAGE *el, const char *d);
141 
145 AQBANKING_API const char *AB_Message_GetText(const AB_MESSAGE *el);
149 AQBANKING_API void AB_Message_SetText(AB_MESSAGE *el, const char *d);
150 
154 AQBANKING_API const GWEN_TIME *AB_Message_GetDateReceived(const AB_MESSAGE *el);
158 AQBANKING_API void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d);
159 
160 
161 #ifdef __cplusplus
162 } /* __cplusplus */
163 #endif
164 
165 
166 #endif /* MESSAGE_H */
const char * AB_Message_GetText(const AB_MESSAGE *el)
void AB_Message_SetText(AB_MESSAGE *el, const char *d)
const GWEN_TIME * AB_Message_GetDateReceived(const AB_MESSAGE *el)
uint32_t AB_Message_GetAccountId(const AB_MESSAGE *el)
AB_MESSAGE * AB_Message_fromDb(GWEN_DB_NODE *db)
#define AQBANKING_API
Definition: error.h:55
struct AB_MESSAGE AB_MESSAGE
Definition: message.h:59
void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d)
void AB_Message_Attach(AB_MESSAGE *st)
AB_MESSAGE * AB_Message_new(void)
void AB_Message_SetAccountId(AB_MESSAGE *el, uint32_t d)
AB_MESSAGE * AB_Message_dup(const AB_MESSAGE *st)
int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db)
GWEN_LIST2_FUNCTION_LIB_DEFS(AB_ACCOUNT_STATUS, AB_AccountStatus,) AB_ACCOUNT_STATUS *AB_AccountStatus_new()
void AB_Message_SetSubject(AB_MESSAGE *el, const char *d)
void AB_Message_free(AB_MESSAGE *st)
int AB_Message_IsModified(const AB_MESSAGE *st)
void AB_Message_SetModified(AB_MESSAGE *st, int i)
const char * AB_Message_GetSubject(const AB_MESSAGE *el)
void AB_Message_SetUserId(AB_MESSAGE *el, uint32_t d)
AB_MESSAGE_LIST * AB_Message_List_dup(const AB_MESSAGE_LIST *stl)
uint32_t AB_Message_GetUserId(const AB_MESSAGE *el)
struct AB_MESSAGE_LIST2 AB_MESSAGE_LIST2
Definition: listdoc.h:3430
int AB_Message_toDb(const AB_MESSAGE *st, GWEN_DB_NODE *db)
void AB_Message_List2_freeAll(AB_MESSAGE_LIST2 *stl)
GWEN_LIST_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION, AB_ProviderDescription,) GWEN_LIST2_FUNCTION_LIB_DEFS(AB_PROVIDER_DESCRIPTION