From 1b4eea2186580bb77c2ad2a13d4263757c192c43 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 30 Jul 2013 19:38:05 -0400 Subject: Small fixes. --- core/Messenger.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'core/Messenger.h') 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" { to an absurdly large number later */ /* add a friend - set the data that will be sent along with friend request - client_id is the client id of the friend - data is the data and length is the length - returns the friend number if success - return -1 if failure. */ + set the data that will be sent along with friend request + client_id is the client id of the friend + data is the data and length is the length + returns the friend number if success + return -1 if key length is wrong. + return -2 if user's own key + return -3 if already a friend + return -4 for other*/ int m_addfriend(uint8_t *client_id, uint8_t *data, uint16_t length); -- cgit v1.2.3