summaryrefslogtreecommitdiff
path: root/core/Messenger.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-09 13:42:28 -0400
committerirungentoo <irungentoo@gmail.com>2013-07-09 13:42:28 -0400
commit803fbafc507a8a19ef83420a462632892413b7f9 (patch)
treec861709ec89ab81330ab1abb829ea3629a98a4f8 /core/Messenger.h
parent127fced11fcd63dac78bdbf1077ee0e9c1478524 (diff)
Comments updated.
Diffstat (limited to 'core/Messenger.h')
-rw-r--r--core/Messenger.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/core/Messenger.h b/core/Messenger.h
index 7e6a0ba0..4e56b4fc 100644
--- a/core/Messenger.h
+++ b/core/Messenger.h
@@ -27,12 +27,17 @@ int m_addfriend_norequest(uint8_t * client_id);
27//remove a friend 27//remove a friend
28int m_delfriend(int friendnumber); 28int m_delfriend(int friendnumber);
29 29
30//return 1 if friend is online 30//return 4 if friend is online
31//return 0 if he is not 31//return 3 if friend is confirmed
32//return 2 if the friend request was sent
33//return 1 if the friend was added
34//return 0 if there is no friend with that number.
32int m_friendstatus(int friendnumber); 35int m_friendstatus(int friendnumber);
33 36
34 37
35//send a text chat message to a friend. 38//send a text chat message to an online friend.
39//returns 1 if packet was successfully put into the send queue
40//return 0 if it was not.
36int m_sendmessage(int friendnumber, uint8_t * message, uint32_t length); 41int m_sendmessage(int friendnumber, uint8_t * message, uint32_t length);
37 42
38//set the data that will be sent along with friend requests 43//set the data that will be sent along with friend requests