diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 375e2025..ccca8fba 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -210,6 +210,8 @@ typedef struct Messenger { | |||
210 | void *friend_statuschange_userdata; | 210 | void *friend_statuschange_userdata; |
211 | void (*friend_connectionstatuschange)(struct Messenger *m, int, uint8_t, void *); | 211 | void (*friend_connectionstatuschange)(struct Messenger *m, int, uint8_t, void *); |
212 | void *friend_connectionstatuschange_userdata; | 212 | void *friend_connectionstatuschange_userdata; |
213 | void (*friend_connectionstatuschange_internal)(struct Messenger *m, int, uint8_t, void *); | ||
214 | void *friend_connectionstatuschange_internal_userdata; | ||
213 | 215 | ||
214 | void (*group_invite)(struct Messenger *m, int, uint8_t *, void *); | 216 | void (*group_invite)(struct Messenger *m, int, uint8_t *, void *); |
215 | void *group_invite_userdata; | 217 | void *group_invite_userdata; |
@@ -460,6 +462,9 @@ void m_callback_read_receipt(Messenger *m, void (*function)(Messenger *m, int, u | |||
460 | * It's assumed that when adding friends, their connection status is offline. | 462 | * It's assumed that when adding friends, their connection status is offline. |
461 | */ | 463 | */ |
462 | void m_callback_connectionstatus(Messenger *m, void (*function)(Messenger *m, int, uint8_t, void *), void *userdata); | 464 | void m_callback_connectionstatus(Messenger *m, void (*function)(Messenger *m, int, uint8_t, void *), void *userdata); |
465 | /* Same as previous but for internal A/V core usage only */ | ||
466 | void m_callback_connectionstatus_internal_av(Messenger *m, void (*function)(Messenger *m, int, uint8_t, void *), | ||
467 | void *userdata); | ||
463 | 468 | ||
464 | /**********GROUP CHATS************/ | 469 | /**********GROUP CHATS************/ |
465 | 470 | ||