diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 4a5a5ae7..cc09afe3 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -58,7 +58,7 @@ | |||
58 | #define PACKET_ID_FILE_CONTROL 81 | 58 | #define PACKET_ID_FILE_CONTROL 81 |
59 | #define PACKET_ID_FILE_DATA 82 | 59 | #define PACKET_ID_FILE_DATA 82 |
60 | #define PACKET_ID_INVITE_GROUPCHAT 96 | 60 | #define PACKET_ID_INVITE_GROUPCHAT 96 |
61 | #define PACKET_ID_MESSAGE_GROUPCHAT 97 | 61 | #define PACKET_ID_MESSAGE_GROUPCHAT 98 |
62 | 62 | ||
63 | 63 | ||
64 | /* Max number of tcp relays sent to friends */ | 64 | /* Max number of tcp relays sent to friends */ |
@@ -352,6 +352,11 @@ int32_t getfriend_id(const Messenger *m, const uint8_t *client_id); | |||
352 | */ | 352 | */ |
353 | int getclient_id(const Messenger *m, int32_t friendnumber, uint8_t *client_id); | 353 | int getclient_id(const Messenger *m, int32_t friendnumber, uint8_t *client_id); |
354 | 354 | ||
355 | /* return friend connection id on success. | ||
356 | * return -1 if failure. | ||
357 | */ | ||
358 | int getfriendcon_id(const Messenger *m, int32_t friendnumber); | ||
359 | |||
355 | /* Remove a friend. | 360 | /* Remove a friend. |
356 | * | 361 | * |
357 | * return 0 if success | 362 | * return 0 if success |