diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 3 |
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 | */ |
280 | int m_copy_statusmessage(Messenger *m, int friendnumber, uint8_t *buf, uint32_t maxlen); | 283 | int m_copy_statusmessage(Messenger *m, int friendnumber, uint8_t *buf, uint32_t maxlen); |
281 | int m_copy_self_statusmessage(Messenger *m, uint8_t *buf, uint32_t maxlen); | 284 | int m_copy_self_statusmessage(Messenger *m, uint8_t *buf, uint32_t maxlen); |