/usr/include/aqbanking5/aqbanking/message.h is in libaqbanking34-dev 5.4.3beta-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | /* This file is auto-generated from "message.xml" by the typemaker
tool of Gwenhywfar.
Do not edit this file -- all changes will be lost! */
#ifndef MESSAGE_H
#define MESSAGE_H
/** @page P_AB_MESSAGE_PUBLIC AB_Message (public)
This page describes the properties of AB_MESSAGE
@anchor AB_MESSAGE_UserId
<h3>UserId</h3>
<p>
ID of the user in whose context the message has been received (see @ref AB_User_GetUniqueId).</p>
<p>
Set this property with @ref AB_Message_SetUserId,
get it with @ref AB_Message_GetUserId
</p>
@anchor AB_MESSAGE_AccountId
<h3>AccountId</h3>
<p>
ID of the account in whose context the message has been received (if any). This field is not set by AqHBCI but may be used by other backends in some cases.</p>
<p>
Set this property with @ref AB_Message_SetAccountId,
get it with @ref AB_Message_GetAccountId
</p>
@anchor AB_MESSAGE_Subject
<h3>Subject</h3>
<p>
Subject of the message.</p>
<p>
Set this property with @ref AB_Message_SetSubject,
get it with @ref AB_Message_GetSubject
</p>
@anchor AB_MESSAGE_Text
<h3>Text</h3>
<p>
The message itself.</p>
<p>
Set this property with @ref AB_Message_SetText,
get it with @ref AB_Message_GetText
</p>
@anchor AB_MESSAGE_DateReceived
<h3>DateReceived</h3>
<p>
Receiption date and time.</p>
<p>
Set this property with @ref AB_Message_SetDateReceived,
get it with @ref AB_Message_GetDateReceived
</p>
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct AB_MESSAGE AB_MESSAGE;
#ifdef __cplusplus
} /* __cplusplus */
#endif
#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/list2.h>
/* headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/gwentime.h>
#include <aqbanking/error.h>
#ifdef __cplusplus
extern "C" {
#endif
GWEN_LIST_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API)
AQBANKING_API AB_MESSAGE_LIST *AB_Message_List_dup(const AB_MESSAGE_LIST *stl);
GWEN_LIST2_FUNCTION_LIB_DEFS(AB_MESSAGE, AB_Message, AQBANKING_API)
/** Destroys all objects stored in the given LIST2 and the list itself
*/
AQBANKING_API void AB_Message_List2_freeAll(AB_MESSAGE_LIST2 *stl);
/** Creates a new object.
*/
AQBANKING_API AB_MESSAGE *AB_Message_new(void);
/** Creates an object from the data in the given GWEN_DB_NODE
*/
AQBANKING_API AB_MESSAGE *AB_Message_fromDb(GWEN_DB_NODE *db);
/** Creates and returns a deep copy of thegiven object.
*/
AQBANKING_API AB_MESSAGE *AB_Message_dup(const AB_MESSAGE*st);
/** Destroys the given object.
*/
AQBANKING_API void AB_Message_free(AB_MESSAGE *st);
/** Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
*/
AQBANKING_API void AB_Message_Attach(AB_MESSAGE *st);
/** Reads data from a GWEN_DB.
*/
AQBANKING_API int AB_Message_ReadDb(AB_MESSAGE *st, GWEN_DB_NODE *db);
/** Stores an object in the given GWEN_DB_NODE
*/
AQBANKING_API int AB_Message_toDb(const AB_MESSAGE*st, GWEN_DB_NODE *db);
/** Returns 0 if this object has not been modified, !=0 otherwise
*/
AQBANKING_API int AB_Message_IsModified(const AB_MESSAGE *st);
/** Sets the modified state of the given object
*/
AQBANKING_API void AB_Message_SetModified(AB_MESSAGE *st, int i);
/**
* Returns the property @ref AB_MESSAGE_UserId
*/
AQBANKING_API uint32_t AB_Message_GetUserId(const AB_MESSAGE *el);
/**
* Set the property @ref AB_MESSAGE_UserId
*/
AQBANKING_API void AB_Message_SetUserId(AB_MESSAGE *el, uint32_t d);
/**
* Returns the property @ref AB_MESSAGE_AccountId
*/
AQBANKING_API uint32_t AB_Message_GetAccountId(const AB_MESSAGE *el);
/**
* Set the property @ref AB_MESSAGE_AccountId
*/
AQBANKING_API void AB_Message_SetAccountId(AB_MESSAGE *el, uint32_t d);
/**
* Returns the property @ref AB_MESSAGE_Subject
*/
AQBANKING_API const char *AB_Message_GetSubject(const AB_MESSAGE *el);
/**
* Set the property @ref AB_MESSAGE_Subject
*/
AQBANKING_API void AB_Message_SetSubject(AB_MESSAGE *el, const char *d);
/**
* Returns the property @ref AB_MESSAGE_Text
*/
AQBANKING_API const char *AB_Message_GetText(const AB_MESSAGE *el);
/**
* Set the property @ref AB_MESSAGE_Text
*/
AQBANKING_API void AB_Message_SetText(AB_MESSAGE *el, const char *d);
/**
* Returns the property @ref AB_MESSAGE_DateReceived
*/
AQBANKING_API const GWEN_TIME *AB_Message_GetDateReceived(const AB_MESSAGE *el);
/**
* Set the property @ref AB_MESSAGE_DateReceived
*/
AQBANKING_API void AB_Message_SetDateReceived(AB_MESSAGE *el, const GWEN_TIME *d);
#ifdef __cplusplus
} /* __cplusplus */
#endif
#endif /* MESSAGE_H */
|