summaryrefslogtreecommitdiff
path: root/toxcore/group.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-11-15 14:26:30 -0500
committerirungentoo <irungentoo@gmail.com>2014-11-15 14:26:30 -0500
commitb808b0de2c22577269a09798bd2cd8acbbeb6e48 (patch)
tree3937304a377ce37578a5258cd4b5e971e2b9bad6 /toxcore/group.h
parent1bfc3792fd1bce9771131e8fe81a4dfe5d2578de (diff)
Some modifications to the last pull request.
Diffstat (limited to 'toxcore/group.h')
-rw-r--r--toxcore/group.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/group.h b/toxcore/group.h
index c4a513b7..f4d93c9a 100644
--- a/toxcore/group.h
+++ b/toxcore/group.h
@@ -235,12 +235,12 @@ int group_title_send(const Group_Chats *g_c, int groupnumber, const uint8_t *tit
235 235
236 236
237/* Get group title from groupnumber and put it in title. 237/* Get group title from groupnumber and put it in title.
238 * title needs to be a valid memory location with a size of at least MAX_NAME_LENGTH (128) bytes. 238 * title needs to be a valid memory location with a max_length size of at least MAX_NAME_LENGTH (128) bytes.
239 * 239 *
240 * return length of title if success. 240 * return length of copied title if success.
241 * return -1 if failure. 241 * return -1 if failure.
242 */ 242 */
243int group_title_get(const Group_Chats *g_c, int groupnumber, uint8_t *title); 243int group_title_get(const Group_Chats *g_c, int groupnumber, uint8_t *title, uint32_t max_length);
244 244
245/* Return the number of peers in the group chat on success. 245/* Return the number of peers in the group chat on success.
246 * return -1 on failure 246 * return -1 on failure