summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 984fa545..8ab6b6ed 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -231,8 +231,6 @@ struct Messenger {
231 Friend *friendlist; 231 Friend *friendlist;
232 uint32_t numfriends; 232 uint32_t numfriends;
233 233
234 uint32_t numonline_friends;
235
236#define NUM_SAVED_TCP_RELAYS 8 234#define NUM_SAVED_TCP_RELAYS 8
237 uint8_t has_added_relays; // If the first connection has occurred in do_messenger 235 uint8_t has_added_relays; // If the first connection has occurred in do_messenger
238 Node_format loaded_relays[NUM_SAVED_TCP_RELAYS]; // Relays loaded from config 236 Node_format loaded_relays[NUM_SAVED_TCP_RELAYS]; // Relays loaded from config
@@ -771,9 +769,6 @@ int messenger_load(Messenger *m, const uint8_t *data, uint32_t length);
771 * for copy_friendlist. */ 769 * for copy_friendlist. */
772uint32_t count_friendlist(const Messenger *m); 770uint32_t count_friendlist(const Messenger *m);
773 771
774/* Return the number of online friends in the instance m. */
775uint32_t get_num_online_friends(const Messenger *m);
776
777/* Copy a list of valid friend IDs into the array out_list. 772/* Copy a list of valid friend IDs into the array out_list.
778 * If out_list is NULL, returns 0. 773 * If out_list is NULL, returns 0.
779 * Otherwise, returns the number of elements copied. 774 * Otherwise, returns the number of elements copied.