aqbanking
5.0.24.0-git
|
#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.
typedef struct AB_MESSAGE AB_MESSAGE |
void AB_Message_Attach | ( | AB_MESSAGE * | st | ) |
Increments the usage counter of the given object, so an additional free() is needed to destroy the object.
AB_MESSAGE* AB_Message_dup | ( | const AB_MESSAGE * | st | ) |
Creates and returns a deep copy of thegiven object.
void AB_Message_free | ( | AB_MESSAGE * | st | ) |
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 | ) |
Returns the property AB_MESSAGE_AccountId
const GWEN_TIME* AB_Message_GetDateReceived | ( | const AB_MESSAGE * | el | ) |
Returns the property AB_MESSAGE_DateReceived
const char* AB_Message_GetSubject | ( | const AB_MESSAGE * | el | ) |
Returns the property AB_MESSAGE_Subject
const char* AB_Message_GetText | ( | const AB_MESSAGE * | el | ) |
Returns the property AB_MESSAGE_Text
uint32_t AB_Message_GetUserId | ( | const AB_MESSAGE * | el | ) |
Returns the property AB_MESSAGE_UserId
int AB_Message_IsModified | ( | const AB_MESSAGE * | st | ) |
Returns 0 if this object has not been modified, !=0 otherwise
void AB_Message_List2_freeAll | ( | AB_MESSAGE_LIST2 * | stl | ) |
Destroys all objects stored in the given LIST2 and the list itself
AB_MESSAGE_LIST* AB_Message_List_dup | ( | const AB_MESSAGE_LIST * | stl | ) |
AB_MESSAGE* AB_Message_new | ( | void | ) |
Creates a new object.
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 | ||
) |
Set the property AB_MESSAGE_AccountId
void AB_Message_SetDateReceived | ( | AB_MESSAGE * | el, |
const GWEN_TIME * | d | ||
) |
Set the property AB_MESSAGE_DateReceived
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 | ||
) |
Set the property AB_MESSAGE_Subject
void AB_Message_SetText | ( | AB_MESSAGE * | el, |
const char * | d | ||
) |
Set the property AB_MESSAGE_Text
void AB_Message_SetUserId | ( | AB_MESSAGE * | el, |
uint32_t | d | ||
) |
Set the property AB_MESSAGE_UserId
int AB_Message_toDb | ( | const AB_MESSAGE * | st, |
GWEN_DB_NODE * | db | ||
) |
Stores an object in the given GWEN_DB_NODE