diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 1f0361b1..0ff14de4 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -247,6 +247,9 @@ uint32_t m_sendmessage_withid(Messenger *m, int friendnumber, uint32_t theid, ui | |||
247 | int m_sendaction(Messenger *m, int friendnumber, uint8_t *action, uint32_t length); | 247 | int m_sendaction(Messenger *m, int friendnumber, uint8_t *action, uint32_t length); |
248 | 248 | ||
249 | /* Set the name and name_length of a friend. | 249 | /* Set the name and name_length of a friend. |
250 | * name must be a string of maximum MAX_NAME_LENGTH length. | ||
251 | * length must be at least 1 byte. | ||
252 | * length is the length of name with the NULL terminator. | ||
250 | * | 253 | * |
251 | * return 0 if success. | 254 | * return 0 if success. |
252 | * return -1 if failure. | 255 | * return -1 if failure. |