aqbanking 5.0.2
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 ()
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)
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

typedef struct AB_MESSAGE AB_MESSAGE

Definition at line 44 of file message.h.


Function Documentation

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

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

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

Creates a new object.

int AB_Message_ReadDb ( AB_MESSAGE st,
GWEN_DB_NODE *  db 
)

Reads data from a GWEN_DB.

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

int AB_Message_toDb ( const AB_MESSAGE st,
GWEN_DB_NODE *  db 
)

Stores an object in the given GWEN_DB_NODE