Delta Chat Core C-API
dc_chatlist.h
1 #ifndef __DC_CHATLIST_H__
2 #define __DC_CHATLIST_H__
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 
9 struct _dc_chatlist
10 {
12  uint32_t magic;
13  dc_context_t* context;
14  #define DC_CHATLIST_IDS_PER_RESULT 2
15  size_t cnt;
16  dc_array_t* chatNlastmsg_ids;
17 };
18 
19 
20 // Context functions to work with chatlist
21 int dc_get_archived_cnt (dc_context_t*);
22 
23 
24 #ifdef __cplusplus
25 } /* /extern "C" */
26 #endif
27 #endif /* __DC_CHATLIST_H__ */
An object representing a single account.
An object containing a simple array.