summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 32b1f1b3..9e91ccee 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -437,7 +437,8 @@ void m_set_sends_receipts(Messenger *m, int32_t friendnumber, int yesno);
437/* Set the function that will be executed when a friend request is received. 437/* Set the function that will be executed when a friend request is received.
438 * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) 438 * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length)
439 */ 439 */
440void m_callback_friendrequest(Messenger *m, void (*function)(uint8_t *, uint8_t *, uint16_t, void *), void *userdata); 440void m_callback_friendrequest(Messenger *m, void (*function)(Messenger *m, uint8_t *, uint8_t *, uint16_t, void *),
441 void *userdata);
441 442
442/* Set the function that will be executed when a message from a friend is received. 443/* Set the function that will be executed when a message from a friend is received.
443 * Function format is: function(int32_t friendnumber, uint8_t * message, uint32_t length) 444 * Function format is: function(int32_t friendnumber, uint8_t * message, uint32_t length)