/dports/net-im/tox/c-toxcore-0.2.13/toxcore/ |
H A D | tox_api.c | 39 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 D | tox.h | 544 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 D | toxoptions.h | 28 struct Tox_Options; 35 operator Tox_Options*(); 43 ToxOptions(Tox_Options* options, const QByteArray& proxyAddrData); 46 Tox_Options* options = nullptr;
|
H A D | toxoptions.cpp | 36 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 D | save_load_test.c | 59 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 D | file_saving_test.c | 32 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 D | invalid_tcp_proxy_test.c | 27 struct Tox_Options *opts = tox_options_new(nullptr); in main()
|
H A D | invalid_udp_proxy_test.c | 27 struct Tox_Options *opts = tox_options_new(nullptr); in main()
|
H A D | tcp_relay_test.c | 28 struct Tox_Options *opts = tox_options_new(nullptr); in main()
|
H A D | tox_many_tcp_test.c | 57 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 D | save_compatibility_test.c | 72 struct Tox_Options options = {0}; in test_save_compatibility()
|
H A D | save_friend_test.c | 118 struct Tox_Options *const options = tox_options_new(nullptr); in main()
|
H A D | tox_one_test.c | 89 struct Tox_Options *options = tox_options_new(nullptr); in test_one()
|
H A D | conference_invite_merge_test.c | 93 struct Tox_Options *const options = tox_options_new(nullptr); in reload()
|
H A D | encryptsave_test.c | 78 struct Tox_Options *options = tox_options_new(nullptr); in test_save_friend()
|
H A D | conference_test.c | 252 struct Tox_Options *const options = tox_options_new(nullptr); in run_conference_tests()
|
H A D | conference_av_test.c | 336 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 D | misc_tools.h | 23 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 D | misc_tools.c | 176 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 D | afl_toxsave.c | 31 struct Tox_Options *tox_options = tox_options_new(&error_options); in main()
|
H A D | random_testing.cc | 37 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 D | toxbot.c | 313 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 D | mock_tox.c | 62 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 D | toxic.c | 820 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 D | tox.c | 276 static int load_toxcore_save(struct Tox_Options *options) { in load_toxcore_save() 343 struct Tox_Options topt; in init_toxcore()
|