diff options
author | irungentoo <irungentoo@gmail.com> | 2013-11-25 11:23:52 -0800 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-11-25 11:23:52 -0800 |
commit | 2967b67b7f3dd27ae1c8fb99f37e42016b946f26 (patch) | |
tree | 8391050a7d3bb58bf2ca5a3da98a151857786dde /toxcore/Messenger.h | |
parent | 6374093254041f0f0581b6581890c368f874d474 (diff) | |
parent | 0b0848d9aca9e2587a3c294477cae820777b1d60 (diff) |
Merge pull request #663 from FullName/peerchange-detail
group_namelistchange(): for gui reasons, divulge peernumber and change type
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index bf8a0572..6fc23db4 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -198,7 +198,7 @@ typedef struct Messenger { | |||
198 | void *group_invite_userdata; | 198 | void *group_invite_userdata; |
199 | void (*group_message)(struct Messenger *m, int, int, uint8_t *, uint16_t, void *); | 199 | void (*group_message)(struct Messenger *m, int, int, uint8_t *, uint16_t, void *); |
200 | void *group_message_userdata; | 200 | void *group_message_userdata; |
201 | void (*group_namelistchange)(struct Messenger *m, int, void *); | 201 | void (*group_namelistchange)(struct Messenger *m, int, int, uint8_t, void *); |
202 | void *group_namelistchange_userdata; | 202 | void *group_namelistchange_userdata; |
203 | 203 | ||
204 | void (*file_sendrequest)(struct Messenger *m, int, uint8_t, uint64_t, uint8_t *, uint16_t, void *); | 204 | void (*file_sendrequest)(struct Messenger *m, int, uint8_t, uint64_t, uint8_t *, uint16_t, void *); |
@@ -462,7 +462,7 @@ void m_callback_group_message(Messenger *m, void (*function)(Messenger *m, int, | |||
462 | * It gets called every time the name list changes(new peer/name, deleted peer) | 462 | * It gets called every time the name list changes(new peer/name, deleted peer) |
463 | * Function(Tox *tox, int groupnumber, void *userdata) | 463 | * Function(Tox *tox, int groupnumber, void *userdata) |
464 | */ | 464 | */ |
465 | void m_callback_group_namelistchange(Messenger *m, void (*function)(Messenger *m, int, void *), void *userdata); | 465 | void m_callback_group_namelistchange(Messenger *m, void (*function)(Messenger *m, int, int, uint8_t, void *), void *userdata); |
466 | 466 | ||
467 | /* Creates a new groupchat and puts it in the chats array. | 467 | /* Creates a new groupchat and puts it in the chats array. |
468 | * | 468 | * |