aqbanking  5.0.24.0-git
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 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 typedef struct AB_MESSAGE AB_MESSAGE;
65 
66 #ifdef __cplusplus
67 } /* __cplusplus */
68 #endif
69 
70 #include <gwenhywfar/db.h>
71 #include <gwenhywfar/misc.h>
72 #include <gwenhywfar/list2.h>
73 /* headers */
74 #include <gwenhywfar/types.h>
75 #include <gwenhywfar/gwentime.h>
76 #include <aqbanking/error.h>
77 
78 #ifdef __cplusplus
79 extern "C" {
80 #endif
81 
82 
85 
87 
91 
94 AQBANKING_API AB_MESSAGE *AB_Message_new(void);
97 AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db);
100 AQBANKING_API AB_MESSAGE *AB_Message_dup(const AB_MESSAGE*st);
103 AQBANKING_API void AB_Message_free(AB_MESSAGE *st);
106 AQBANKING_API void AB_Message_Attach(AB_MESSAGE *st);
109 AQBANKING_API int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db);
112 AQBANKING_API int AB_Message_toDb(const AB_MESSAGE*st, GWEN_DB_NODE *db);
115 AQBANKING_API int AB_Message_IsModified(const AB_MESSAGE *st);
118 AQBANKING_API void AB_Message_SetModified(AB_MESSAGE *st, int i);
119 
123 AQBANKING_API uint32_t AB_Message_GetUserId(const AB_MESSAGE *el);
127 AQBANKING_API void AB_Message_SetUserId(AB_MESSAGE *el, uint32_t d);
128 
132 AQBANKING_API uint32_t AB_Message_GetAccountId(const AB_MESSAGE *el);
136 AQBANKING_API void AB_Message_SetAccountId(AB_MESSAGE *el, uint32_t d);
137 
141 AQBANKING_API const char *AB_Message_GetSubject(const AB_MESSAGE *el);
145 AQBANKING_API void AB_Message_SetSubject(AB_MESSAGE *el, const char *d);
146 
150 AQBANKING_API const char *AB_Message_GetText(const AB_MESSAGE *el);
154 AQBANKING_API void AB_Message_SetText(AB_MESSAGE *el, const char *d);
155 
159 AQBANKING_API const GWEN_TIME *AB_Message_GetDateReceived(const AB_MESSAGE *el);
163 AQBANKING_API void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d);
164 
165 
166 #ifdef __cplusplus
167 } /* __cplusplus */
168 #endif
169 
170 
171 #endif /* MESSAGE_H */