diff options
Diffstat (limited to 'toxcore/group.h')
-rw-r--r-- | toxcore/group.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/group.h b/toxcore/group.h index d4c77f49..3764bf94 100644 --- a/toxcore/group.h +++ b/toxcore/group.h | |||
@@ -214,6 +214,13 @@ int group_names(const Group_Chats *g_c, int groupnumber, uint8_t names[][MAX_NAM | |||
214 | */ | 214 | */ |
215 | uint32_t count_chatlist(Group_Chats *g_c); | 215 | uint32_t count_chatlist(Group_Chats *g_c); |
216 | 216 | ||
217 | /* Copy a list of valid chat IDs into the array out_list. | ||
218 | * If out_list is NULL, returns 0. | ||
219 | * Otherwise, returns the number of elements copied. | ||
220 | * If the array was too small, the contents | ||
221 | * of out_list will be truncated to list_size. */ | ||
222 | uint32_t copy_chatlist(Group_Chats *g_c, int32_t *out_list, uint32_t list_size); | ||
223 | |||
217 | /* Send current name (set in messenger) to all online groups. | 224 | /* Send current name (set in messenger) to all online groups. |
218 | */ | 225 | */ |
219 | void send_name_all_groups(Group_Chats *g_c); | 226 | void send_name_all_groups(Group_Chats *g_c); |