summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index e6cf0322..718f817b 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -204,6 +204,9 @@ int tox_get_statusmessage_size(Tox *tox, int friendnumber);
204/* Copy friendnumber's status message into buf, truncating if size is over maxlen. 204/* Copy friendnumber's status message into buf, truncating if size is over maxlen.
205 * Get the size you need to allocate from m_get_statusmessage_size. 205 * Get the size you need to allocate from m_get_statusmessage_size.
206 * The self variant will copy our own status message. 206 * The self variant will copy our own status message.
207 *
208 * returns the length of the copied data on success
209 * retruns -1 on failure.
207 */ 210 */
208int tox_copy_statusmessage(Tox *tox, int friendnumber, uint8_t *buf, uint32_t maxlen); 211int tox_copy_statusmessage(Tox *tox, int friendnumber, uint8_t *buf, uint32_t maxlen);
209int tox_copy_self_statusmessage(Tox *tox, uint8_t *buf, uint32_t maxlen); 212int tox_copy_self_statusmessage(Tox *tox, uint8_t *buf, uint32_t maxlen);