diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-30 14:30:33 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-30 14:30:33 -0400 |
commit | 87388b302e8c9cb6a5eb78d59f792a60fe6c675f (patch) | |
tree | 5b04cac6eaf80508a5efa77ebeb4836a33fd970a /core/Messenger.h | |
parent | 2d3113699452194d9d5bc1ad7145a4e007a11fc6 (diff) | |
parent | dc57b779d2e3d1df836698cd119a3890ffecf86d (diff) |
Merge branch 'master' of https://github.com/blackwolf12333/ProjectTox-Core into blackwolf12333-master
Also fixed his pull request.
Diffstat (limited to 'core/Messenger.h')
-rw-r--r-- | core/Messenger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h index 7263901c..6ab50175 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -92,6 +92,11 @@ int m_sendmessage(int friendnumber, uint8_t *message, uint32_t length); | |||
92 | return -1 if failure */ | 92 | return -1 if failure */ |
93 | int setname(uint8_t *name, uint16_t length); | 93 | int setname(uint8_t *name, uint16_t length); |
94 | 94 | ||
95 | /* get our nickname | ||
96 | put it in name | ||
97 | return the length of the name*/ | ||
98 | uint16_t getself_name(uint8_t *name); | ||
99 | |||
95 | /* get name of friendnumber | 100 | /* get name of friendnumber |
96 | put it in name | 101 | put it in name |
97 | name needs to be a valid memory location with a size of at least MAX_NAME_LENGTH (128) bytes. | 102 | name needs to be a valid memory location with a size of at least MAX_NAME_LENGTH (128) bytes. |