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 6fc4df02..0bb230cf 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -233,6 +233,7 @@ typedef struct Friend {
233 233
234struct Messenger { 234struct Messenger {
235 Logger *log; 235 Logger *log;
236 Mono_Time *mono_time;
236 237
237 Networking_Core *net; 238 Networking_Core *net;
238 Net_Crypto *net_crypto; 239 Net_Crypto *net_crypto;
@@ -738,7 +739,7 @@ typedef enum Messenger_Error {
738 * 739 *
739 * if error is not NULL it will be set to one of the values in the enum above. 740 * if error is not NULL it will be set to one of the values in the enum above.
740 */ 741 */
741Messenger *new_messenger(Messenger_Options *options, unsigned int *error); 742Messenger *new_messenger(Mono_Time *mono_time, Messenger_Options *options, unsigned int *error);
742 743
743/* Run this before closing shop 744/* Run this before closing shop
744 * Free all datastructures. 745 * Free all datastructures.