summaryrefslogtreecommitdiff
path: root/toxcore/tox_api.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-04 00:06:47 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-04 00:36:31 +0000
commitf41c11c34e04e6d7a04cb20f79bc2643c0e33dd1 (patch)
treed6de2568920dc521d4d57680ac396dc5d5212859 /toxcore/tox_api.c
parent99bfb9a4f2b15d3b5a9fe3878df2eb5e55c428aa (diff)
Use more ubuntu packages; remove hstox for now.
Since trusty has more up-to-date packages, we can remove some of the custom install code. Also, we're not using hstox at the moment, so there is no need to slow down the builds for now.
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r--toxcore/tox_api.c20
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
43ACCESSORS(bool, , ipv6_enabled) 43ACCESSORS(bool,, ipv6_enabled)
44ACCESSORS(bool, , udp_enabled) 44ACCESSORS(bool,, udp_enabled)
45ACCESSORS(TOX_PROXY_TYPE, proxy_ , type) 45ACCESSORS(TOX_PROXY_TYPE, proxy_, type)
46ACCESSORS(const char *, proxy_ , host) 46ACCESSORS(const char *, proxy_, host)
47ACCESSORS(uint16_t, proxy_ , port) 47ACCESSORS(uint16_t, proxy_, port)
48ACCESSORS(uint16_t, , start_port) 48ACCESSORS(uint16_t,, start_port)
49ACCESSORS(uint16_t, , end_port) 49ACCESSORS(uint16_t,, end_port)
50ACCESSORS(uint16_t, , tcp_port) 50ACCESSORS(uint16_t,, tcp_port)
51ACCESSORS(bool, , hole_punching_enabled) 51ACCESSORS(bool,, hole_punching_enabled)
52ACCESSORS(TOX_SAVEDATA_TYPE, savedata_, type) 52ACCESSORS(TOX_SAVEDATA_TYPE, savedata_, type)
53ACCESSORS(size_t, savedata_, length) 53ACCESSORS(size_t, savedata_, length)
54ACCESSORS(tox_log_cb *, log_, callback) 54ACCESSORS(tox_log_cb *, log_, callback)
55ACCESSORS(void *, log_, user_data) 55ACCESSORS(void *, log_, user_data)
56ACCESSORS(bool, , local_discovery_enabled) 56ACCESSORS(bool,, local_discovery_enabled)
57 57
58const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) 58const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options)
59{ 59{