diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-09 20:25:52 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-09 20:25:52 -0400 |
commit | e680d885d725cbc27ddbbdabe79860d51816f0cb (patch) | |
tree | f493c741f61362a8418f340cb08daed862e98c6d /core/Messenger.h | |
parent | 116f7b20eff8a487c1f74cdcd2469236f5e13be0 (diff) |
Delete friends function now works and some other changes.
Diffstat (limited to 'core/Messenger.h')
-rw-r--r-- | core/Messenger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h index 4e56b4fc..42ce20ca 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -23,6 +23,9 @@ int m_addfriend(uint8_t * client_id); | |||
23 | //return -1 if failure. | 23 | //return -1 if failure. |
24 | int m_addfriend_norequest(uint8_t * client_id); | 24 | int m_addfriend_norequest(uint8_t * client_id); |
25 | 25 | ||
26 | //return the friend id associated to that client id. | ||
27 | //return -1 if no such friend | ||
28 | int getfriend_id(uint8_t * client_id); | ||
26 | 29 | ||
27 | //remove a friend | 30 | //remove a friend |
28 | int m_delfriend(int friendnumber); | 31 | int m_delfriend(int friendnumber); |