diff options
-rw-r--r-- | core/tox.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -56,12 +56,12 @@ extern "C" { | |||
56 | * Represents userstatuses someone can have. */ | 56 | * Represents userstatuses someone can have. */ |
57 | 57 | ||
58 | typedef enum { | 58 | typedef enum { |
59 | USERSTATUS_NONE, | 59 | TOX_USERSTATUS_NONE, |
60 | USERSTATUS_AWAY, | 60 | TOX_USERSTATUS_AWAY, |
61 | USERSTATUS_BUSY, | 61 | TOX_USERSTATUS_BUSY, |
62 | USERSTATUS_INVALID | 62 | TOX_USERSTATUS_INVALID |
63 | } | 63 | } |
64 | USERSTATUS; | 64 | TOX_USERSTATUS; |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. | 67 | * returns a FRIEND_ADDRESS_SIZE byte address to give to others. |
@@ -174,8 +174,8 @@ int tox_copy_self_statusmessage(void *tox, uint8_t *buf, uint32_t maxlen); | |||
174 | * Values unknown to your application should be represented as USERSTATUS_NONE. | 174 | * Values unknown to your application should be represented as USERSTATUS_NONE. |
175 | * As above, the self variant will return our own USERSTATUS. | 175 | * As above, the self variant will return our own USERSTATUS. |
176 | * If friendnumber is invalid, this shall return USERSTATUS_INVALID. */ | 176 | * If friendnumber is invalid, this shall return USERSTATUS_INVALID. */ |
177 | USERSTATUS tox_get_userstatus(void *tox, int friendnumber); | 177 | TOX_USERSTATUS tox_get_userstatus(void *tox, int friendnumber); |
178 | USERSTATUS tox_get_selfuserstatus(void *tox); | 178 | TOX_USERSTATUS tox_get_selfuserstatus(void *tox); |
179 | 179 | ||
180 | /* Sets whether we send read receipts for friendnumber. | 180 | /* Sets whether we send read receipts for friendnumber. |
181 | * This function is not lazy, and it will fail if yesno is not (0 or 1).*/ | 181 | * This function is not lazy, and it will fail if yesno is not (0 or 1).*/ |