Delta Chat Core C-API
dc_lot.h
1 #ifndef __DC_LOT_H__
2 #define __DC_LOT_H__
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 
9 struct _dc_lot
10 {
12  uint32_t magic;
13  int text1_meaning;
14  char* text1;
15  char* text2;
16  time_t timestamp;
17  int state;
19  uint32_t id;
21  char* fingerprint;
22  char* invitenumber;
23  char* auth;
24 };
25 
26 
27 /* library-internal */
28 #define DC_SUMMARY_CHARACTERS 160 /* in practice, the user additionally cuts the string himself pixel-accurate */
29 void dc_lot_fill (dc_lot_t*, const dc_msg_t*, const dc_chat_t*, const dc_contact_t*, dc_context_t*);
30 
31 
32 #ifdef __cplusplus
33 } /* /extern "C" */
34 #endif
35 #endif /* __DC_LOT_H__ */
An object representing a single account.
An object representing a single contact in memory.
An object representing a single chat in memory.
An object representing a single message in memory.
An object containing a set of values.