summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 5dec83df..d4cfa431 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -255,7 +255,7 @@ struct Messenger {
255 void (*group_invite)(struct Messenger *m, uint32_t, const uint8_t *, uint16_t); 255 void (*group_invite)(struct Messenger *m, uint32_t, const uint8_t *, uint16_t);
256 void (*group_message)(struct Messenger *m, uint32_t, const uint8_t *, uint16_t); 256 void (*group_message)(struct Messenger *m, uint32_t, const uint8_t *, uint16_t);
257 257
258 void (*file_sendrequest)(struct Messenger *m, uint32_t, uint32_t, unsigned int, uint64_t, const uint8_t *, size_t, 258 void (*file_sendrequest)(struct Messenger *m, uint32_t, uint32_t, uint32_t, uint64_t, const uint8_t *, size_t,
259 void *); 259 void *);
260 void *file_sendrequest_userdata; 260 void *file_sendrequest_userdata;
261 void (*file_filecontrol)(struct Messenger *m, uint32_t, uint32_t, unsigned int, void *); 261 void (*file_filecontrol)(struct Messenger *m, uint32_t, uint32_t, unsigned int, void *);
@@ -574,9 +574,9 @@ int send_group_invite_packet(const Messenger *m, int32_t friendnumber, const uin
574 574
575/* Set the callback for file send requests. 575/* Set the callback for file send requests.
576 * 576 *
577 * Function(Tox *tox, uint32_t friendnumber, uint32_t filenumber, unsigned int filetype, uint64_t filesize, uint8_t *filename, size_t filename_length, void *userdata) 577 * Function(Tox *tox, uint32_t friendnumber, uint32_t filenumber, uint32_t filetype, uint64_t filesize, uint8_t *filename, size_t filename_length, void *userdata)
578 */ 578 */
579void callback_file_sendrequest(Messenger *m, void (*function)(Messenger *m, uint32_t, uint32_t, unsigned int, uint64_t, 579void callback_file_sendrequest(Messenger *m, void (*function)(Messenger *m, uint32_t, uint32_t, uint32_t, uint64_t,
580 const uint8_t *, size_t, void *), void *userdata); 580 const uint8_t *, size_t, void *), void *userdata);
581 581
582 582