summaryrefslogtreecommitdiff
path: root/toxcore/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/group.h')
-rw-r--r--toxcore/group.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/toxcore/group.h b/toxcore/group.h
index 1e054de3..eb8db55f 100644
--- a/toxcore/group.h
+++ b/toxcore/group.h
@@ -355,19 +355,6 @@ int group_number_peers(const Group_Chats *g_c, uint32_t groupnumber, bool frozen
355 */ 355 */
356int group_peernumber_is_ours(const Group_Chats *g_c, uint32_t groupnumber, uint32_t peernumber); 356int group_peernumber_is_ours(const Group_Chats *g_c, uint32_t groupnumber, uint32_t peernumber);
357 357
358/* List all the (frozen, if frozen is true) peers in the group chat.
359 *
360 * Copies the names of the peers to the `name[length][MAX_NAME_LENGTH]` array.
361 *
362 * Copies the lengths of the names to `lengths[length]`
363 *
364 * returns the number of peers on success.
365 *
366 * return -1 on failure.
367 */
368int group_names(const Group_Chats *g_c, uint32_t groupnumber, uint8_t names[][MAX_NAME_LENGTH], uint16_t lengths[],
369 uint16_t length, bool frozen);
370
371/* Set handlers for custom lossy packets. */ 358/* Set handlers for custom lossy packets. */
372void group_lossy_packet_registerhandler(Group_Chats *g_c, uint8_t byte, lossy_packet_cb *function); 359void group_lossy_packet_registerhandler(Group_Chats *g_c, uint8_t byte, lossy_packet_cb *function);
373 360