aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendcommon.h
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@dereferenced.net>2016-02-19 16:32:25 -0700
committerNick Mathewson <nickm@torproject.org>2016-05-09 14:30:34 -0400
commit162aa14eef69bc97233d6b2c47bc1317e30f9364 (patch)
treec8b768498d077a262e491b0fe4725933893b5160 /src/or/rendcommon.h
parentdcc11674db53cc89228ec2e8d49f30bdf6c9b8a3 (diff)
downloadtor-162aa14eef69bc97233d6b2c47bc1317e30f9364.tar.gz
tor-162aa14eef69bc97233d6b2c47bc1317e30f9364.zip
Move rend client name checks to one function
Diffstat (limited to 'src/or/rendcommon.h')
-rw-r--r--src/or/rendcommon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendcommon.h b/src/or/rendcommon.h
index 983cd73892..f0a740b75f 100644
--- a/src/or/rendcommon.h
+++ b/src/or/rendcommon.h
@@ -45,6 +45,7 @@ void rend_intro_point_free(rend_intro_point_t *intro);
int rend_valid_service_id(const char *query);
int rend_valid_descriptor_id(const char *query);
+int rend_valid_client_name(const char *client_name);
int rend_encode_v2_descriptors(smartlist_t *descs_out,
rend_service_descriptor_t *desc, time_t now,
uint8_t period, rend_auth_type_t auth_type,