diff options
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index 89da8583..6c0bd71f 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -40,20 +40,20 @@ void tox_options_set_##ns##name(struct Tox_Options *options, type name) \ | |||
40 | options->ns##name = name; \ | 40 | options->ns##name = name; \ |
41 | } | 41 | } |
42 | 42 | ||
43 | ACCESSORS(bool, , ipv6_enabled) | 43 | ACCESSORS(bool,, ipv6_enabled) |
44 | ACCESSORS(bool, , udp_enabled) | 44 | ACCESSORS(bool,, udp_enabled) |
45 | ACCESSORS(TOX_PROXY_TYPE, proxy_ , type) | 45 | ACCESSORS(TOX_PROXY_TYPE, proxy_, type) |
46 | ACCESSORS(const char *, proxy_ , host) | 46 | ACCESSORS(const char *, proxy_, host) |
47 | ACCESSORS(uint16_t, proxy_ , port) | 47 | ACCESSORS(uint16_t, proxy_, port) |
48 | ACCESSORS(uint16_t, , start_port) | 48 | ACCESSORS(uint16_t,, start_port) |
49 | ACCESSORS(uint16_t, , end_port) | 49 | ACCESSORS(uint16_t,, end_port) |
50 | ACCESSORS(uint16_t, , tcp_port) | 50 | ACCESSORS(uint16_t,, tcp_port) |
51 | ACCESSORS(bool, , hole_punching_enabled) | 51 | ACCESSORS(bool,, hole_punching_enabled) |
52 | ACCESSORS(TOX_SAVEDATA_TYPE, savedata_, type) | 52 | ACCESSORS(TOX_SAVEDATA_TYPE, savedata_, type) |
53 | ACCESSORS(size_t, savedata_, length) | 53 | ACCESSORS(size_t, savedata_, length) |
54 | ACCESSORS(tox_log_cb *, log_, callback) | 54 | ACCESSORS(tox_log_cb *, log_, callback) |
55 | ACCESSORS(void *, log_, user_data) | 55 | ACCESSORS(void *, log_, user_data) |
56 | ACCESSORS(bool, , local_discovery_enabled) | 56 | ACCESSORS(bool,, local_discovery_enabled) |
57 | 57 | ||
58 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) | 58 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) |
59 | { | 59 | { |