diff options
author | teor <teor@torproject.org> | 2019-11-05 11:28:57 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 11:28:57 +1000 |
commit | cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f (patch) | |
tree | 64d478c825955f9db31b6b074dcd8ecfc5e2cd04 /src/app/config/config.h | |
parent | 96334d6f7f4751256dec2b254a075e5dd2eba48f (diff) | |
download | tor-cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f.tar.gz tor-cb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f.zip |
config: Rename new global functions with a prefix
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
get_dirportfrontpage relay_get_dirportfrontpage \
parse_port_config port_parse_config \
count_real_listeners port_count_real_listeners \
parse_transport_line pt_parse_transport_line \
ensure_bandwidth_cap config_ensure_bandwidth_cap \
get_effective_bwrate relay_get_effective_bwrate \
get_effective_bwburst relay_get_effective_bwburst \
warn_nonlocal_ext_orports port_warn_nonlocal_ext_orports \
parse_ports_relay port_parse_ports_relay \
update_port_set_relay port_update_port_set_relay \
get_transport_bindaddr_from_config pt_get_bindaddr_from_config \
get_options_for_server_transport pt_get_options_for_server_transport
It was generated with --no-verify, because it has some long lines.
Part of 32213.
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r-- | src/app/config/config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h index a1963b7453..eeba9e64d0 100644 --- a/src/app/config/config.h +++ b/src/app/config/config.h @@ -243,7 +243,7 @@ bridge_line_t *parse_bridge_line(const char *line); /* Port helper functions. */ int options_any_client_port_set(const or_options_t *options); -int parse_port_config(smartlist_t *out, +int port_parse_config(smartlist_t *out, const struct config_line_t *ports, const char *portname, int listener_type, @@ -265,13 +265,13 @@ port_cfg_t *port_cfg_new(size_t namelen); FREE_AND_NULL(port_cfg_t, port_cfg_free_, (port)) void port_cfg_free_(port_cfg_t *port); -int count_real_listeners(const smartlist_t *ports, +int port_count_real_listeners(const smartlist_t *ports, int listenertype, int count_sockets); -int parse_transport_line(const or_options_t *options, +int pt_parse_transport_line(const or_options_t *options, const char *line, int validate_only, int server); -int ensure_bandwidth_cap(uint64_t *value, const char *desc, char **msg); +int config_ensure_bandwidth_cap(uint64_t *value, const char *desc, char **msg); #ifdef CONFIG_PRIVATE |