aboutsummaryrefslogtreecommitdiff
path: root/src/or/protover.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-12 14:18:43 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-26 10:56:53 -0700
commitafe0419db7adb643aff7c2f2c99f2e2302c6dc7d (patch)
tree13ebf7a0b58a43c9c9535192407f669058f6f876 /src/or/protover.c
parent3a3120819c8f600ef7d22ddf3f5476791c7e1d9b (diff)
downloadtor-afe0419db7adb643aff7c2f2c99f2e2302c6dc7d.tar.gz
tor-afe0419db7adb643aff7c2f2c99f2e2302c6dc7d.zip
Rename get_supported_protocols to protover_get_supported_protocols
Diffstat (limited to 'src/or/protover.c')
-rw-r--r--src/or/protover.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/protover.c b/src/or/protover.c
index 434d3f36be..a2471b0c01 100644
--- a/src/or/protover.c
+++ b/src/or/protover.c
@@ -260,7 +260,7 @@ protocol_list_supports_protocol(const char *list, protocol_type_t tp,
/** Return the canonical string containing the list of protocols
* that we support. */
const char *
-get_supported_protocols(void)
+protover_get_supported_protocols(void)
{
return
"Cons=1-2 "
@@ -274,8 +274,9 @@ get_supported_protocols(void)
"Relay=1-2";
}
-/** The protocols from get_supported_protocols(), as parsed into a list of
- * proto_entry_t values. Access this via get_supported_protocol_list. */
+/** The protocols from protover_get_supported_protocols(), as parsed into a
+ * list of proto_entry_t values. Access this via
+ * get_supported_protocol_list. */
static smartlist_t *supported_protocol_list = NULL;
/** Return a pointer to a smartlist of proto_entry_t for the protocols
@@ -284,7 +285,8 @@ static const smartlist_t *
get_supported_protocol_list(void)
{
if (PREDICT_UNLIKELY(supported_protocol_list == NULL)) {
- supported_protocol_list = parse_protocol_list(get_supported_protocols());
+ supported_protocol_list =
+ parse_protocol_list(protover_get_supported_protocols());
}
return supported_protocol_list;
}