diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 113df796..2a421bba 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -237,7 +237,6 @@ struct Messenger { | |||
237 | Node_format loaded_relays[NUM_SAVED_TCP_RELAYS]; // Relays loaded from config | 237 | Node_format loaded_relays[NUM_SAVED_TCP_RELAYS]; // Relays loaded from config |
238 | 238 | ||
239 | void (*friend_message)(struct Messenger *m, uint32_t, unsigned int, const uint8_t *, size_t, void *); | 239 | void (*friend_message)(struct Messenger *m, uint32_t, unsigned int, const uint8_t *, size_t, void *); |
240 | void *friend_message_userdata; | ||
241 | void (*friend_namechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); | 240 | void (*friend_namechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); |
242 | void (*friend_statusmessagechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); | 241 | void (*friend_statusmessagechange)(struct Messenger *m, uint32_t, const uint8_t *, size_t, void *); |
243 | void (*friend_userstatuschange)(struct Messenger *m, uint32_t, unsigned int, void *); | 242 | void (*friend_userstatuschange)(struct Messenger *m, uint32_t, unsigned int, void *); |
@@ -475,7 +474,7 @@ void m_callback_friendrequest(Messenger *m, void (*function)(Messenger *m, const | |||
475 | * Function format is: function(uint32_t friendnumber, unsigned int type, uint8_t * message, uint32_t length) | 474 | * Function format is: function(uint32_t friendnumber, unsigned int type, uint8_t * message, uint32_t length) |
476 | */ | 475 | */ |
477 | void m_callback_friendmessage(Messenger *m, void (*function)(Messenger *m, uint32_t, unsigned int, const uint8_t *, | 476 | void m_callback_friendmessage(Messenger *m, void (*function)(Messenger *m, uint32_t, unsigned int, const uint8_t *, |
478 | size_t, void *), void *userdata); | 477 | size_t, void *)); |
479 | 478 | ||
480 | /* Set the callback for name changes. | 479 | /* Set the callback for name changes. |
481 | * Function(uint32_t friendnumber, uint8_t *newname, size_t length) | 480 | * Function(uint32_t friendnumber, uint8_t *newname, size_t length) |