aqbanking  5.7.8
Typedefs | Functions
message.h File Reference
#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.

Typedefs

typedef struct AB_MESSAGE AB_MESSAGE
 

Functions

AB_MESSAGE_LISTAB_Message_List_dup (const AB_MESSAGE_LIST *stl)
 
void AB_Message_List2_freeAll (AB_MESSAGE_LIST2 *stl)
 
AB_MESSAGEAB_Message_new (void)
 
AB_MESSAGEAB_Message_fromDb (GWEN_DB_NODE *db)
 
AB_MESSAGEAB_Message_dup (const AB_MESSAGE *st)
 
void AB_Message_free (AB_MESSAGE *st)
 
void AB_Message_Attach (AB_MESSAGE *st)
 
int AB_Message_ReadDb (AB_MESSAGE *st, GWEN_DB_NODE *db)
 
int AB_Message_toDb (const AB_MESSAGE *st, GWEN_DB_NODE *db)
 
int AB_Message_IsModified (const AB_MESSAGE *st)
 
void AB_Message_SetModified (AB_MESSAGE *st, int i)
 
uint32_t AB_Message_GetUserId (const AB_MESSAGE *el)
 
void AB_Message_SetUserId (AB_MESSAGE *el, uint32_t d)
 
uint32_t AB_Message_GetAccountId (const AB_MESSAGE *el)
 
void AB_Message_SetAccountId (AB_MESSAGE *el, uint32_t d)
 
const char * AB_Message_GetSubject (const AB_MESSAGE *el)
 
void AB_Message_SetSubject (AB_MESSAGE *el, const char *d)
 
const char * AB_Message_GetText (const AB_MESSAGE *el)
 
void AB_Message_SetText (AB_MESSAGE *el, const char *d)
 
const GWEN_TIME * AB_Message_GetDateReceived (const AB_MESSAGE *el)
 
void AB_Message_SetDateReceived (AB_MESSAGE *el, const GWEN_TIME *d)
 

Typedef Documentation

◆ AB_MESSAGE

typedef struct AB_MESSAGE AB_MESSAGE

Definition at line 59 of file message.h.

Function Documentation

◆ AB_Message_Attach()

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_dup()

AB_MESSAGE* AB_Message_dup ( const AB_MESSAGE st)

Creates and returns a deep copy of thegiven object.

◆ AB_Message_free()

void AB_Message_free ( AB_MESSAGE st)

Destroys the given object.

◆ AB_Message_fromDb()

AB_MESSAGE* AB_Message_fromDb ( GWEN_DB_NODE *  db)

Creates an object from the data in the given GWEN_DB_NODE

◆ AB_Message_GetAccountId()

uint32_t AB_Message_GetAccountId ( const AB_MESSAGE el)

Returns the property AB_MESSAGE_AccountId

◆ AB_Message_GetDateReceived()

const GWEN_TIME* AB_Message_GetDateReceived ( const AB_MESSAGE el)

Returns the property AB_MESSAGE_DateReceived

◆ AB_Message_GetSubject()

const char* AB_Message_GetSubject ( const AB_MESSAGE el)

Returns the property AB_MESSAGE_Subject

◆ AB_Message_GetText()

const char* AB_Message_GetText ( const AB_MESSAGE el)

Returns the property AB_MESSAGE_Text

◆ AB_Message_GetUserId()

uint32_t AB_Message_GetUserId ( const AB_MESSAGE el)

Returns the property AB_MESSAGE_UserId

◆ AB_Message_IsModified()

int AB_Message_IsModified ( const AB_MESSAGE st)

Returns 0 if this object has not been modified, !=0 otherwise

◆ AB_Message_List2_freeAll()

void AB_Message_List2_freeAll ( AB_MESSAGE_LIST2 stl)

Destroys all objects stored in the given LIST2 and the list itself

◆ AB_Message_List_dup()

AB_MESSAGE_LIST* AB_Message_List_dup ( const AB_MESSAGE_LIST stl)

◆ AB_Message_new()

AB_MESSAGE* AB_Message_new ( void  )

Creates a new object.

◆ AB_Message_ReadDb()

int AB_Message_ReadDb ( AB_MESSAGE st,
GWEN_DB_NODE *  db 
)

Reads data from a GWEN_DB.

◆ AB_Message_SetAccountId()

void AB_Message_SetAccountId ( AB_MESSAGE el,
uint32_t  d 
)

Set the property AB_MESSAGE_AccountId

◆ AB_Message_SetDateReceived()

void AB_Message_SetDateReceived ( AB_MESSAGE el,
const GWEN_TIME *  d 
)

Set the property AB_MESSAGE_DateReceived

◆ AB_Message_SetModified()

void AB_Message_SetModified ( AB_MESSAGE st,
int  i 
)

Sets the modified state of the given object

◆ AB_Message_SetSubject()

void AB_Message_SetSubject ( AB_MESSAGE el,
const char *  d 
)

Set the property AB_MESSAGE_Subject

◆ AB_Message_SetText()

void AB_Message_SetText ( AB_MESSAGE el,
const char *  d 
)

Set the property AB_MESSAGE_Text

◆ AB_Message_SetUserId()

void AB_Message_SetUserId ( AB_MESSAGE el,
uint32_t  d 
)

Set the property AB_MESSAGE_UserId

◆ AB_Message_toDb()

int AB_Message_toDb ( const AB_MESSAGE st,
GWEN_DB_NODE *  db 
)

Stores an object in the given GWEN_DB_NODE