summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2014-07-28 19:32:23 -0700
committerAndrea Shepard <andrea@torproject.org>2014-07-28 19:32:23 -0700
commit4a5164fd86465ab4546ce4aad0ed8ec1b9e26cd1 (patch)
tree187e3d53a78eb59dba49d46004116d46bbf6ec82 /src/or/config.h
parent5d81fd25a0558794902b93d0d73c0f0134ccfce6 (diff)
downloadtor-4a5164fd86465ab4546ce4aad0ed8ec1b9e26cd1.tar.gz
tor-4a5164fd86465ab4546ce4aad0ed8ec1b9e26cd1.zip
Replace all calls to parse_client_transport_line() or parse_server_transport_line() with new parse_transport_line() stub
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/config.h b/src/or/config.h
index 31496c2720..4097d37714 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -140,10 +140,9 @@ 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);
+STATIC int parse_transport_line(const or_options_t *options,
+ const char *line, int validate_only,
+ int server);
#endif
#endif