aqbanking
5.0.24.0-git
|
00001 /* This file is auto-generated from "message.xml" by the typemaker 00002 tool of Gwenhywfar. 00003 Do not edit this file -- all changes will be lost! */ 00004 #ifndef MESSAGE_H 00005 #define MESSAGE_H 00006 00060 #ifdef __cplusplus 00061 extern "C" { 00062 #endif 00063 00064 typedef struct AB_MESSAGE AB_MESSAGE; 00065 00066 #ifdef __cplusplus 00067 } /* __cplusplus */ 00068 #endif 00069 00070 #include <gwenhywfar/db.h> 00071 #include <gwenhywfar/misc.h> 00072 #include <gwenhywfar/list2.h> 00073 /* headers */ 00074 #include <gwenhywfar/types.h> 00075 #include <gwenhywfar/gwentime.h> 00076 #include <aqbanking/error.h> 00077 00078 #ifdef __cplusplus 00079 extern "C" { 00080 #endif 00081 00082 00083 GWEN_LIST_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API) 00084 AQBANKING_API AB_MESSAGE_LIST *AB_Message_List_dup(const AB_MESSAGE_LIST *stl); 00085 00086 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API) 00087 00090 AQBANKING_API void AB_Message_List2_freeAll(AB_MESSAGE_LIST2 *stl); 00091 00094 AQBANKING_API AB_MESSAGE *AB_Message_new(void); 00097 AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db); 00100 AQBANKING_API AB_MESSAGE *AB_Message_dup(const AB_MESSAGE*st); 00103 AQBANKING_API void AB_Message_free(AB_MESSAGE *st); 00106 AQBANKING_API void AB_Message_Attach(AB_MESSAGE *st); 00109 AQBANKING_API int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db); 00112 AQBANKING_API int AB_Message_toDb(const AB_MESSAGE*st, GWEN_DB_NODE *db); 00115 AQBANKING_API int AB_Message_IsModified(const AB_MESSAGE *st); 00118 AQBANKING_API void AB_Message_SetModified(AB_MESSAGE *st, int i); 00119 00123 AQBANKING_API uint32_t AB_Message_GetUserId(const AB_MESSAGE *el); 00127 AQBANKING_API void AB_Message_SetUserId(AB_MESSAGE *el, uint32_t d); 00128 00132 AQBANKING_API uint32_t AB_Message_GetAccountId(const AB_MESSAGE *el); 00136 AQBANKING_API void AB_Message_SetAccountId(AB_MESSAGE *el, uint32_t d); 00137 00141 AQBANKING_API const char *AB_Message_GetSubject(const AB_MESSAGE *el); 00145 AQBANKING_API void AB_Message_SetSubject(AB_MESSAGE *el, const char *d); 00146 00150 AQBANKING_API const char *AB_Message_GetText(const AB_MESSAGE *el); 00154 AQBANKING_API void AB_Message_SetText(AB_MESSAGE *el, const char *d); 00155 00159 AQBANKING_API const GWEN_TIME *AB_Message_GetDateReceived(const AB_MESSAGE *el); 00163 AQBANKING_API void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d); 00164 00165 00166 #ifdef __cplusplus 00167 } /* __cplusplus */ 00168 #endif 00169 00170 00171 #endif /* MESSAGE_H */