Delta Chat Core C-Library
|
the poortext object and some function accessing it. More...
#include <mrpoortext.h>
Public Member Functions | |
void | mrpoortext_unref (mrpoortext_t *poortext) |
Frees a mrpoortext_t object created eg. More... | |
#define | MR_TEXT1_NORMAL 0 |
#define | MR_TEXT1_DRAFT 1 |
#define | MR_TEXT1_USERNAME 2 |
#define | MR_TEXT1_SELF 3 |
Public Attributes | |
int | m_text1_meaning |
One of MR_TEXT1_NORMAL, MR_TEXT1_DRAFT, MR_TEXT1_USERNAME or MR_TEXT1_SELF. | |
char * | m_text1 |
may be NULL | |
char * | m_text2 |
may be NULL | |
time_t | m_timestamp |
may be 0 | |
int | m_state |
may be 0 | |
the poortext object and some function accessing it.
A poortext object contains some strings together with their meaning and some attributes. The object is mainly used for summary returns of chats and chatlists
void mrpoortext_unref | ( | mrpoortext_t * | poortext | ) |
Frees a mrpoortext_t object created eg.
by mrchatlist_get_summary() or by mrmsg_eget_summary(). This also frees the strings objects.
poortext | The mrpoortext_t object to free. |