summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-10-18 22:42:12 -0400
committerirungentoo <irungentoo@gmail.com>2013-10-18 22:42:12 -0400
commit368231b4f838c48998081b672773b4728ce462c8 (patch)
tree61c5b4d60f093883533c09fa8649148dbdb3c7b4 /toxcore/tox.h
parent92f185c6b3736067f70ee0a948cf988e57dcf42d (diff)
Removed bad function from public API (This breaks toxic.)
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 97107a0c..1f14fe46 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -230,16 +230,6 @@ uint32_t tox_sendmessage_withid(Tox *tox, int friendnumber, uint32_t theid, uint
230uint32_t tox_sendaction(Tox *tox, int friendnumber, uint8_t *action, uint32_t length); 230uint32_t tox_sendaction(Tox *tox, int friendnumber, uint8_t *action, uint32_t length);
231uint32_t tox_sendaction_withid(Tox *tox, int friendnumber, uint32_t theid, uint8_t *action, uint32_t length); 231uint32_t tox_sendaction_withid(Tox *tox, int friendnumber, uint32_t theid, uint8_t *action, uint32_t length);
232 232
233/* Set friendnumber's nickname.
234 * name must be a string of maximum MAX_NAME_LENGTH length.
235 * length must be at least 1 byte.
236 * length is the length of name with the NULL terminator.
237 *
238 * return 0 if success.
239 * return -1 if failure.
240 */
241int tox_setfriendname(Tox *tox, int friendnumber, uint8_t *name, uint16_t length);
242
243/* Set our nickname. 233/* Set our nickname.
244 * name must be a string of maximum MAX_NAME_LENGTH length. 234 * name must be a string of maximum MAX_NAME_LENGTH length.
245 * length must be at least 1 byte. 235 * length must be at least 1 byte.