summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-07-25 17:49:47 -0700
committerAndrea Shepard <andrea@torproject.org>2014-07-25 17:49:47 -0700
commit18c97ad8bc85b9c0a0b3cac088f719f7e261c60b (patch)
tree5190195a11f44ecdf08ab3da228136d636e862b3 /src/or/config.h
parent641c1584f7be8de88d3c58eae96c5c022a4870d1 (diff)
downloadtor-18c97ad8bc85b9c0a0b3cac088f719f7e261c60b.tar.gz
tor-18c97ad8bc85b9c0a0b3cac088f719f7e261c60b.zip
Expose parse_client_transport_line() and parse_server_transport_line() for the test suite
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h
index bf386134b8..31496c2720 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -140,6 +140,10 @@ STATIC int options_validate(or_options_t *old_options,
or_options_t *options,
or_options_t *default_options,
int from_setconf, char **msg);
+STATIC int parse_client_transport_line(const or_options_t *options,
+ const char *line, int validate_only);
+STATIC int parse_server_transport_line(const or_options_t *options,
+ const char *line, int validate_only);
#endif
#endif