diff options
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 4 |
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 | */ |
587 | int tox_set_avatar(Tox *tox, uint8_t format, const uint8_t *data, uint32_t length); | 587 | int 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) */ | ||
592 | int 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 |