Delta Chat Core C-Library
Public Member Functions | Public Attributes | List of all members
mrpoortext_t Struct Reference

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
 

Detailed Description

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

Member Function Documentation

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.

Parameters
poortextThe mrpoortext_t object to free.
Returns
None

The documentation for this struct was generated from the following files: