summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 9d7f17dc..a4c6114b 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -276,6 +276,9 @@ int m_get_statusmessage_size(Messenger *m, int friendnumber);
276/* Copy friendnumber's status message into buf, truncating if size is over maxlen. 276/* Copy friendnumber's status message into buf, truncating if size is over maxlen.
277 * Get the size you need to allocate from m_get_statusmessage_size. 277 * Get the size you need to allocate from m_get_statusmessage_size.
278 * The self variant will copy our own status message. 278 * The self variant will copy our own status message.
279 *
280 * returns the length of the copied data on success
281 * retruns -1 on failure.
279 */ 282 */
280int m_copy_statusmessage(Messenger *m, int friendnumber, uint8_t *buf, uint32_t maxlen); 283int m_copy_statusmessage(Messenger *m, int friendnumber, uint8_t *buf, uint32_t maxlen);
281int m_copy_self_statusmessage(Messenger *m, uint8_t *buf, uint32_t maxlen); 284int m_copy_self_statusmessage(Messenger *m, uint8_t *buf, uint32_t maxlen);