diff options
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index 025c7456..8503f237 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -58,6 +58,7 @@ ACCESSORS(size_t, savedata_, length) | |||
58 | ACCESSORS(tox_log_cb *, log_, callback) | 58 | ACCESSORS(tox_log_cb *, log_, callback) |
59 | ACCESSORS(void *, log_, user_data) | 59 | ACCESSORS(void *, log_, user_data) |
60 | ACCESSORS(bool,, local_discovery_enabled) | 60 | ACCESSORS(bool,, local_discovery_enabled) |
61 | ACCESSORS(bool,, experimental_thread_safety) | ||
61 | 62 | ||
62 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) | 63 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) |
63 | { | 64 | { |
@@ -80,6 +81,7 @@ void tox_options_default(struct Tox_Options *options) | |||
80 | tox_options_set_proxy_type(options, TOX_PROXY_TYPE_NONE); | 81 | tox_options_set_proxy_type(options, TOX_PROXY_TYPE_NONE); |
81 | tox_options_set_hole_punching_enabled(options, true); | 82 | tox_options_set_hole_punching_enabled(options, true); |
82 | tox_options_set_local_discovery_enabled(options, true); | 83 | tox_options_set_local_discovery_enabled(options, true); |
84 | tox_options_set_experimental_thread_safety(options, false); | ||
83 | } | 85 | } |
84 | } | 86 | } |
85 | 87 | ||