diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-04 00:06:47 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-04 00:36:31 +0000 |
commit | f41c11c34e04e6d7a04cb20f79bc2643c0e33dd1 (patch) | |
tree | d6de2568920dc521d4d57680ac396dc5d5212859 /toxcore/tox_api.c | |
parent | 99bfb9a4f2b15d3b5a9fe3878df2eb5e55c428aa (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.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 | { |