summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/tox.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/tox.h b/core/tox.h
index 2ad1ae2d..3dc86855 100644
--- a/core/tox.h
+++ b/core/tox.h
@@ -56,12 +56,12 @@ extern "C" {
56 * Represents userstatuses someone can have. */ 56 * Represents userstatuses someone can have. */
57 57
58typedef enum { 58typedef 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}
64USERSTATUS; 64TOX_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. */
177USERSTATUS tox_get_userstatus(void *tox, int friendnumber); 177TOX_USERSTATUS tox_get_userstatus(void *tox, int friendnumber);
178USERSTATUS tox_get_selfuserstatus(void *tox); 178TOX_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).*/