aqbanking  5.4.3beta
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 
86 
89 AQBANKING_API AB_MESSAGE *AB_Message_new(void);
92 AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db);
95 AQBANKING_API AB_MESSAGE *AB_Message_dup(const AB_MESSAGE*st);
98 AQBANKING_API void AB_Message_free(AB_MESSAGE *st);
101 AQBANKING_API void AB_Message_Attach(AB_MESSAGE *st);
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);
110 AQBANKING_API int AB_Message_IsModified(const AB_MESSAGE *st);
113 AQBANKING_API void AB_Message_SetModified(AB_MESSAGE *st, int i);
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 
127 AQBANKING_API uint32_t AB_Message_GetAccountId(const AB_MESSAGE *el);
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 */