aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/transport_config.h
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-05 11:28:57 +1000
committerteor <teor@torproject.org>2019-11-05 11:28:57 +1000
commitcb8ebc0b4c9582f2588be84bc0af0ab3dfe4fc2f (patch)
tree64d478c825955f9db31b6b074dcd8ecfc5e2cd04 /src/feature/relay/transport_config.h
parent96334d6f7f4751256dec2b254a075e5dd2eba48f (diff)
downloadtor-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/feature/relay/transport_config.h')
-rw-r--r--src/feature/relay/transport_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/feature/relay/transport_config.h b/src/feature/relay/transport_config.h
index 799c51c984..de6e7668e2 100644
--- a/src/feature/relay/transport_config.h
+++ b/src/feature/relay/transport_config.h
@@ -23,8 +23,8 @@ int options_validate_server_transport(const or_options_t *old_options,
or_options_t *options,
char **msg);
-char *get_transport_bindaddr_from_config(const char *transport);
-smartlist_t *get_options_for_server_transport(const char *transport);
+char *pt_get_bindaddr_from_config(const char *transport);
+smartlist_t *pt_get_options_for_server_transport(const char *transport);
int options_act_server_transport(const or_options_t *old_options);
@@ -68,11 +68,11 @@ options_validate_server_transport(const or_options_t *old_options,
return 0;
}
-#define get_transport_bindaddr_from_config(transport) \
+#define pt_get_bindaddr_from_config(transport) \
(((void)(transport)),NULL)
/* 31851: called from client/transports.c, but only from server code */
-#define get_options_for_server_transport(transport) \
+#define pt_get_options_for_server_transport(transport) \
(((void)(transport)),NULL)
#define options_validate_server_transport(old_options, options, msg) \