diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-06-12 15:28:31 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-18 08:45:02 -0400 |
commit | 08d98071252995d586f0ac3cef82f6ec46fc9347 (patch) | |
tree | 97cadf2726e7205ab7a4a86137f6249fbff3fb35 /src/or/config.h | |
parent | 9fda7e8cd1bbc33479c667ea97a220333f81c148 (diff) | |
download | tor-08d98071252995d586f0ac3cef82f6ec46fc9347.tar.gz tor-08d98071252995d586f0ac3cef82f6ec46fc9347.zip |
Write function that parses ServerTransportOptions torrc lines.
And use it to validate them.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index c35214cd02..11e8109d93 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -112,6 +112,9 @@ typedef struct bridge_line_t { void bridge_line_free(bridge_line_t *bridge_line); bridge_line_t *parse_bridge_line(const char *line); +smartlist_t *get_options_from_transport_options_line(const char *line, + const char *transport); + #endif |