#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/types.h>
#include <gwenhywfar/gwentime.h>
#include <aqbanking/error.h>
Go to the source code of this file.
Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
Creates and returns a deep copy of thegiven object.
Destroys the given object.
AB_MESSAGE* AB_Message_fromDb |
( |
GWEN_DB_NODE * |
db | ) |
|
Creates an object from the data in the given GWEN_DB_NODE
uint32_t AB_Message_GetAccountId |
( |
const AB_MESSAGE * |
el | ) |
|
const GWEN_TIME* AB_Message_GetDateReceived |
( |
const AB_MESSAGE * |
el | ) |
|
const char* AB_Message_GetSubject |
( |
const AB_MESSAGE * |
el | ) |
|
const char* AB_Message_GetText |
( |
const AB_MESSAGE * |
el | ) |
|
uint32_t AB_Message_GetUserId |
( |
const AB_MESSAGE * |
el | ) |
|
int AB_Message_IsModified |
( |
const AB_MESSAGE * |
st | ) |
|
Returns 0 if this object has not been modified, !=0 otherwise
Destroys all objects stored in the given LIST2 and the list itself
int AB_Message_ReadDb |
( |
AB_MESSAGE * |
st, |
|
|
GWEN_DB_NODE * |
db |
|
) |
| |
Reads data from a GWEN_DB.
void AB_Message_SetAccountId |
( |
AB_MESSAGE * |
el, |
|
|
uint32_t |
d |
|
) |
| |
void AB_Message_SetDateReceived |
( |
AB_MESSAGE * |
el, |
|
|
const GWEN_TIME * |
d |
|
) |
| |
void AB_Message_SetModified |
( |
AB_MESSAGE * |
st, |
|
|
int |
i |
|
) |
| |
Sets the modified state of the given object
void AB_Message_SetSubject |
( |
AB_MESSAGE * |
el, |
|
|
const char * |
d |
|
) |
| |
void AB_Message_SetText |
( |
AB_MESSAGE * |
el, |
|
|
const char * |
d |
|
) |
| |
void AB_Message_SetUserId |
( |
AB_MESSAGE * |
el, |
|
|
uint32_t |
d |
|
) |
| |
int AB_Message_toDb |
( |
const AB_MESSAGE * |
st, |
|
|
GWEN_DB_NODE * |
db |
|
) |
| |
Stores an object in the given GWEN_DB_NODE