summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index f3118270..0597c435 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -284,6 +284,9 @@ void tox_set_sends_receipts(Tox *tox, int friendnumber, int yesno);
284 * for copy_friendlist. */ 284 * for copy_friendlist. */
285uint32_t tox_count_friendlist(Tox *tox); 285uint32_t tox_count_friendlist(Tox *tox);
286 286
287/* Return the number of online friends in the instance m. */
288uint32_t tox_get_num_online_friends(Tox *tox);
289
287/* Copy a list of valid friend IDs into the array out_list. 290/* Copy a list of valid friend IDs into the array out_list.
288 * If out_list is NULL, returns 0. 291 * If out_list is NULL, returns 0.
289 * Otherwise, returns the number of elements copied. 292 * Otherwise, returns the number of elements copied.