summaryrefslogtreecommitdiff
path: root/toxcore/friend_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/friend_connection.h')
-rw-r--r--toxcore/friend_connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/friend_connection.h b/toxcore/friend_connection.h
index 024befee..06d7a123 100644
--- a/toxcore/friend_connection.h
+++ b/toxcore/friend_connection.h
@@ -158,7 +158,8 @@ typedef int fr_request_cb(void *object, const uint8_t *source_pubkey, const uint
158void set_friend_request_callback(Friend_Connections *fr_c, fr_request_cb *fr_request_callback, void *object); 158void set_friend_request_callback(Friend_Connections *fr_c, fr_request_cb *fr_request_callback, void *object);
159 159
160/* Create new friend_connections instance. */ 160/* Create new friend_connections instance. */
161Friend_Connections *new_friend_connections(Onion_Client *onion_c, bool local_discovery_enabled); 161Friend_Connections *new_friend_connections(const Mono_Time *mono_time, Onion_Client *onion_c,
162 bool local_discovery_enabled);
162 163
163/* main friend_connections loop. */ 164/* main friend_connections loop. */
164void do_friend_connections(Friend_Connections *fr_c, void *userdata); 165void do_friend_connections(Friend_Connections *fr_c, void *userdata);