Created
September 4, 2013 13:03
-
-
Save sonOfRa/6436636 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Get name of friendnumber and put it in name. | |
* name needs to be a valid memory location with a size of at least MAX_NAME_LENGTH (128) bytes. | |
* | |
* return 0 if success. | |
* return -1 if failure. | |
*/ | |
int tox_getname(Tox *tox, int friendnumber, uint8_t *name); | |
VS | |
/* | |
* Get your nickname. | |
* m - The messanger context to use. | |
* name - Pointer to a string for the name. | |
* nlen - The length of the string buffer. | |
* | |
* return length of name. | |
* return 0 on error. | |
*/ | |
uint16_t tox_getselfname(Tox *tox, uint8_t *name, uint16_t nlen); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment