Home
last modified time | relevance | path

Searched refs:tox3 (Results 1 – 4 of 4) sorted by relevance

/dports/net-im/tox/c-toxcore-0.2.13/auto_tests/
H A Dfile_transfer_test.c190 tox_iterate(tox3, nullptr); in file_transfer_test()
195 tox_self_get_connection_status(tox3), in file_transfer_test()
211 tox_callback_file_recv_chunk(tox3, write_file); in file_transfer_test()
215 tox_callback_file_recv(tox3, tox_file_receive); in file_transfer_test()
234 tox_iterate(tox3, nullptr); in file_transfer_test()
275 tox_callback_file_recv_chunk(tox3, write_file); in file_transfer_test()
279 tox_callback_file_recv(tox3, tox_file_receive); in file_transfer_test()
298 tox_iterate(tox3, nullptr); in file_transfer_test()
322 tox_callback_file_recv_chunk(tox3, write_file); in file_transfer_test()
348 tox_iterate(tox3, nullptr); in file_transfer_test()
[all …]
H A Dconference_simple_test.c118 Tox *tox3 = tox_new_log(nullptr, nullptr, &state3.id); in main() local
126 tox_self_get_public_key(tox3, key); in main()
129 tox_friend_add_norequest(tox3, key, nullptr); // tox3 -> tox2 in main()
137 tox_bootstrap(tox3, "localhost", dht_port, dht_key, nullptr); in main()
151 tox_callback_conference_invite(tox3, handle_conference_invite); in main()
171 tox_iterate(tox3, &state3); in main()
184 tox_iterate(tox3, &state3); in main()
214 tox_iterate(tox3, &state3); in main()
226 tox_iterate(tox3, &state3); in main()
250 tox_iterate(tox3, &state3); in main()
[all …]
H A Dsave_load_test.c127 Tox *tox3 = tox_new_log(opts3, nullptr, &index[2]); in test_few_clients() local
129 ck_assert_msg(tox1 && tox2 && tox3, "Failed to create 3 tox instances"); in test_few_clients()
140 tox_bootstrap(tox3, "localhost", dht_port, dht_key, nullptr); in test_few_clients()
147 uint32_t test = tox_friend_add(tox3, address, (const uint8_t *)"Gentoo", 7, nullptr); in test_few_clients()
155 tox_iterate(tox3, nullptr); in test_few_clients()
158 && tox_self_get_connection_status(tox3)) { in test_few_clients()
166 && tox_friend_get_connection_status(tox3, 0, nullptr) == TOX_CONNECTION_TCP) { in test_few_clients()
179 reload_tox(&tox3, opts3, &index[2]); in test_few_clients()
188 tox_iterate(tox3, nullptr); in test_few_clients()
191 && tox_self_get_connection_status(tox3)) { in test_few_clients()
[all …]
H A Dencryptsave_test.c84 Tox *tox3 = tox_new_log(options, &err2, nullptr); in test_save_friend() local
87 ck_assert_msg(tox3 == nullptr, "tox_new with error should return NULL"); in test_save_friend()
93 tox3 = tox_new_log(options, &err2, nullptr); in test_save_friend()
96 ret = tox_friend_get_public_key(tox3, 0, address2, nullptr); in test_save_friend()
100 size = tox_get_savedata_size(tox3); in test_save_friend()
102 tox_get_savedata(tox3, data2); in test_save_friend()
137 tox_kill(tox3); in test_save_friend()