Home
last modified time | relevance | path

Searched refs:Tox_Options (Results 1 – 25 of 30) sorted by relevance

12

/dports/net-im/tox/c-toxcore-0.2.13/toxcore/
H A Dtox_api.c39 type tox_options_get_##ns##name(const struct Tox_Options *options) \ in CONST_FUNCTION()
43 void tox_options_set_##ns##name(struct Tox_Options *options, type name) \
66 const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options)
71 void tox_options_set_savedata_data(struct Tox_Options *options, const uint8_t *data, size_t length) in tox_options_set_savedata_data()
77 void tox_options_default(struct Tox_Options *options) in tox_options_default()
80 struct Tox_Options default_options = { 0 }; in tox_options_default()
91 struct Tox_Options *tox_options_new(Tox_Err_Options_New *error) in tox_options_new()
93 struct Tox_Options *options = (struct Tox_Options *)malloc(sizeof(struct Tox_Options)); in tox_options_new()
105 void tox_options_free(struct Tox_Options *options) in tox_options_free()
H A Dtox.h544 struct Tox_Options { struct
697 bool tox_options_get_ipv6_enabled(const struct Tox_Options *options); argument
701 bool tox_options_get_udp_enabled(const struct Tox_Options *options);
717 uint16_t tox_options_get_proxy_port(const struct Tox_Options *options);
721 uint16_t tox_options_get_start_port(const struct Tox_Options *options);
725 uint16_t tox_options_get_end_port(const struct Tox_Options *options);
729 uint16_t tox_options_get_tcp_port(const struct Tox_Options *options);
772 void tox_options_default(struct Tox_Options *options);
799 struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error);
807 void tox_options_free(struct Tox_Options *options);
[all …]
/dports/net-im/qTox/qTox-1.17.4/src/core/
H A Dtoxoptions.h28 struct Tox_Options;
35 operator Tox_Options*();
43 ToxOptions(Tox_Options* options, const QByteArray& proxyAddrData);
46 Tox_Options* options = nullptr;
H A Dtoxoptions.cpp36 ToxOptions::ToxOptions(Tox_Options* options, const QByteArray& proxyAddrData) in ToxOptions()
59 ToxOptions::operator Tox_Options*() in operator Tox_Options*()
72 Tox_Options* tox_opts = tox_options_new(nullptr); in makeToxOptions()
/dports/net-im/tox/c-toxcore-0.2.13/auto_tests/
H A Dsave_load_test.c59 static void reload_tox(Tox **tox, struct Tox_Options *const in_opts, void *user_data) in reload_tox()
78 struct Tox_Options *const options = (in_opts == nullptr) ? tox_options_new(nullptr) : in_opts; in reload_tox()
115 struct Tox_Options *opts1 = tox_options_new(nullptr); in test_few_clients()
120 struct Tox_Options *opts2 = tox_options_new(nullptr); in test_few_clients()
125 struct Tox_Options *opts3 = tox_options_new(nullptr); in test_few_clients()
H A Dfile_saving_test.c32 struct Tox_Options *options = tox_options_new(nullptr); in save_data_encrypted()
86 struct Tox_Options *options = tox_options_new(nullptr); in load_data_decrypted()
H A Dinvalid_tcp_proxy_test.c27 struct Tox_Options *opts = tox_options_new(nullptr); in main()
H A Dinvalid_udp_proxy_test.c27 struct Tox_Options *opts = tox_options_new(nullptr); in main()
H A Dtcp_relay_test.c28 struct Tox_Options *opts = tox_options_new(nullptr); in main()
H A Dtox_many_tcp_test.c57 struct Tox_Options *opts = tox_options_new(nullptr); in START_TEST()
151 struct Tox_Options *opts = tox_options_new(nullptr); in START_TEST()
H A Dsave_compatibility_test.c72 struct Tox_Options options = {0}; in test_save_compatibility()
H A Dsave_friend_test.c118 struct Tox_Options *const options = tox_options_new(nullptr); in main()
H A Dtox_one_test.c89 struct Tox_Options *options = tox_options_new(nullptr); in test_one()
H A Dconference_invite_merge_test.c93 struct Tox_Options *const options = tox_options_new(nullptr); in reload()
H A Dencryptsave_test.c78 struct Tox_Options *options = tox_options_new(nullptr); in test_save_friend()
H A Dconference_test.c252 struct Tox_Options *const options = tox_options_new(nullptr); in run_conference_tests()
H A Dconference_av_test.c336 struct Tox_Options *const options = tox_options_new(nullptr); in run_conference_tests()
/dports/net-im/tox/c-toxcore-0.2.13/testing/
H A Dmisc_tools.h23 Tox *tox_new_log(struct Tox_Options *options, Tox_Err_New *err, void *log_user_data);
24 Tox *tox_new_log_lan(struct Tox_Options *options, Tox_Err_New *err, void *log_user_data, bool lan_d…
H A Dmisc_tools.c176 Tox *tox_new_log_lan(struct Tox_Options *options, Tox_Err_New *err, void *log_user_data, bool lan_d… in tox_new_log_lan()
178 struct Tox_Options *log_options = options; in tox_new_log_lan()
200 Tox *tox_new_log(struct Tox_Options *options, Tox_Err_New *err, void *log_user_data) in tox_new_log()
H A Dafl_toxsave.c31 struct Tox_Options *tox_options = tox_options_new(&error_options); in main()
H A Drandom_testing.cc37 void operator()(Tox_Options *options) const { tox_options_free(options); } in operator ()()
40 using Tox_Options_Ptr = std::unique_ptr<Tox_Options, Tox_Options_Deleter>;
/dports/net-im/toxbot/ToxBot-1e4af05/src/
H A Dtoxbot.c313 static Tox *load_tox(struct Tox_Options *options, char *path) in load_tox()
363 struct Tox_Options tox_opts; in init_tox()
364 memset(&tox_opts, 0, sizeof(struct Tox_Options)); in init_tox()
/dports/net-im/toxext/toxext-0.0.3/mock/
H A Dmock_tox.c62 Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error) in tox_new()
/dports/net-im/toxic/toxic-0.11.3/src/
H A Dtoxic.c820 static void init_tox_options(struct Tox_Options *tox_opts) in init_tox_options()
869 static Tox *load_tox(char *data_path, struct Tox_Options *tox_opts, Tox_Err_New *new_err) in load_tox()
1030 struct Tox_Options *tox_opts = tox_options_new(&options_new_err); in load_toxic()
/dports/net-im/uTox/uTox/src/
H A Dtox.c276 static int load_toxcore_save(struct Tox_Options *options) { in load_toxcore_save()
343 struct Tox_Options topt; in init_toxcore()

12