diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-10-08 21:05:14 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-10-09 17:33:37 +0000 |
commit | 605dfe882c52bfad4dee9678a69e4b816d93431d (patch) | |
tree | 10432adc5d3716cb28b833c6e156218b67c23494 /toxcore/tox_api.c | |
parent | 77e025fae48a4f9cf6cf19a359b6c423545f3cc7 (diff) |
Consistently use camel case enum names.
Including in tests and implementation files.
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c index 87123968..e720832a 100644 --- a/toxcore/tox_api.c +++ b/toxcore/tox_api.c | |||
@@ -44,14 +44,14 @@ void tox_options_set_##ns##name(struct Tox_Options *options, type name) \ | |||
44 | 44 | ||
45 | ACCESSORS(bool,, ipv6_enabled) | 45 | ACCESSORS(bool,, ipv6_enabled) |
46 | ACCESSORS(bool,, udp_enabled) | 46 | ACCESSORS(bool,, udp_enabled) |
47 | ACCESSORS(TOX_PROXY_TYPE, proxy_, type) | 47 | ACCESSORS(Tox_Proxy_Type, proxy_, type) |
48 | ACCESSORS(const char *, proxy_, host) | 48 | ACCESSORS(const char *, proxy_, host) |
49 | ACCESSORS(uint16_t, proxy_, port) | 49 | ACCESSORS(uint16_t, proxy_, port) |
50 | ACCESSORS(uint16_t,, start_port) | 50 | ACCESSORS(uint16_t,, start_port) |
51 | ACCESSORS(uint16_t,, end_port) | 51 | ACCESSORS(uint16_t,, end_port) |
52 | ACCESSORS(uint16_t,, tcp_port) | 52 | ACCESSORS(uint16_t,, tcp_port) |
53 | ACCESSORS(bool,, hole_punching_enabled) | 53 | ACCESSORS(bool,, hole_punching_enabled) |
54 | ACCESSORS(TOX_SAVEDATA_TYPE, savedata_, type) | 54 | ACCESSORS(Tox_Savedata_Type, savedata_, type) |
55 | ACCESSORS(size_t, savedata_, length) | 55 | ACCESSORS(size_t, savedata_, length) |
56 | ACCESSORS(tox_log_cb *, log_, callback) | 56 | ACCESSORS(tox_log_cb *, log_, callback) |
57 | ACCESSORS(void *, log_, user_data) | 57 | ACCESSORS(void *, log_, user_data) |
@@ -81,7 +81,7 @@ void tox_options_default(struct Tox_Options *options) | |||
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||
84 | struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error) | 84 | struct Tox_Options *tox_options_new(Tox_Err_Options_New *error) |
85 | { | 85 | { |
86 | struct Tox_Options *options = (struct Tox_Options *)malloc(sizeof(struct Tox_Options)); | 86 | struct Tox_Options *options = (struct Tox_Options *)malloc(sizeof(struct Tox_Options)); |
87 | 87 | ||