summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 61cfdf70..af6f282c 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -586,6 +586,10 @@ void tox_callback_avatar_data(Tox *tox, void (*function)(Tox *tox, int32_t, uint
586 */ 586 */
587int tox_set_avatar(Tox *tox, uint8_t format, const uint8_t *data, uint32_t length); 587int tox_set_avatar(Tox *tox, uint8_t format, const uint8_t *data, uint32_t length);
588 588
589/* Unsets the user avatar.
590
591 returns 0 on success (currently always returns 0) */
592int tox_unset_avatar(Tox *tox);
589 593
590/* Get avatar data from the current user. 594/* Get avatar data from the current user.
591 * Copies the current user avatar data to the destination buffer and sets the image format 595 * Copies the current user avatar data to the destination buffer and sets the image format