summaryrefslogtreecommitdiff
path: root/core/Messenger.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-30 19:38:05 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-30 19:38:05 -0400
commit1b4eea2186580bb77c2ad2a13d4263757c192c43 (patch)
tree1cf674adafdb22b54c98fbc5cc6c185fb9f3ccd0 /core/Messenger.h
parentf6d508735a00ed8b52a319d1033b7ff9fa70c523 (diff)
Small fixes.
Diffstat (limited to 'core/Messenger.h')
-rw-r--r--core/Messenger.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/Messenger.h b/core/Messenger.h
index 6ab50175..9ce96fb4 100644
--- a/core/Messenger.h
+++ b/core/Messenger.h
@@ -46,11 +46,14 @@ extern "C" {
46 to an absurdly large number later */ 46 to an absurdly large number later */
47 47
48/* add a friend 48/* add a friend
49 set the data that will be sent along with friend request 49 set the data that will be sent along with friend request
50 client_id is the client id of the friend 50 client_id is the client id of the friend
51 data is the data and length is the length 51 data is the data and length is the length
52 returns the friend number if success 52 returns the friend number if success
53 return -1 if failure. */ 53 return -1 if key length is wrong.
54 return -2 if user's own key
55 return -3 if already a friend
56 return -4 for other*/
54int m_addfriend(uint8_t *client_id, uint8_t *data, uint16_t length); 57int m_addfriend(uint8_t *client_id, uint8_t *data, uint16_t length);
55 58
56 59