aqbanking 5.0.2
|
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 00040 #ifdef __cplusplus 00041 extern "C" { 00042 #endif 00043 00044 typedef struct AB_MESSAGE AB_MESSAGE; 00045 00046 #ifdef __cplusplus 00047 } /* __cplusplus */ 00048 #endif 00049 00050 #include <gwenhywfar/db.h> 00051 #include <gwenhywfar/misc.h> 00052 #include <gwenhywfar/list2.h> 00053 /* headers */ 00054 #include <gwenhywfar/types.h> 00055 #include <gwenhywfar/gwentime.h> 00056 #include <aqbanking/error.h> 00057 00058 #ifdef __cplusplus 00059 extern "C" { 00060 #endif 00061 00062 00063 GWEN_LIST_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API) 00064 AQBANKING_API AB_MESSAGE_LIST *AB_Message_List_dup(const AB_MESSAGE_LIST *stl); 00065 00066 GWEN_LIST2_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API) 00067 00070 AQBANKING_API void AB_Message_List2_freeAll(AB_MESSAGE_LIST2 *stl); 00071 00074 AQBANKING_API AB_MESSAGE *AB_Message_new(); 00077 AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db); 00080 AQBANKING_API AB_MESSAGE *AB_Message_dup(const AB_MESSAGE*st); 00083 AQBANKING_API void AB_Message_free(AB_MESSAGE *st); 00086 AQBANKING_API void AB_Message_Attach(AB_MESSAGE *st); 00089 AQBANKING_API int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db); 00092 AQBANKING_API int AB_Message_toDb(const AB_MESSAGE*st, GWEN_DB_NODE *db); 00095 AQBANKING_API int AB_Message_IsModified(const AB_MESSAGE *st); 00098 AQBANKING_API void AB_Message_SetModified(AB_MESSAGE *st, int i); 00099 00103 AQBANKING_API const char *AB_Message_GetSubject(const AB_MESSAGE *el); 00107 AQBANKING_API void AB_Message_SetSubject(AB_MESSAGE *el, const char *d); 00108 00112 AQBANKING_API const char *AB_Message_GetText(const AB_MESSAGE *el); 00116 AQBANKING_API void AB_Message_SetText(AB_MESSAGE *el, const char *d); 00117 00121 AQBANKING_API const GWEN_TIME *AB_Message_GetDateReceived(const AB_MESSAGE *el); 00125 AQBANKING_API void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d); 00126 00127 00128 #ifdef __cplusplus 00129 } /* __cplusplus */ 00130 #endif 00131 00132 00133 #endif /* MESSAGE_H */