summaryrefslogtreecommitdiff
path: root/core/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-23 06:31:19 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-23 06:31:19 -0400
commit733066a57e8d5403c91475fb6b095f44a81bf270 (patch)
tree2baf4bec3acd0cfca5ad24ea8f198b46c1cb56fd /core/tox.h
parentcabc5add792a83b82aa5fe76011372f1f3677672 (diff)
Added TOX prefix to enum.
Diffstat (limited to 'core/tox.h')
-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).*/