diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-25 12:49:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-13 12:36:39 -0400 |
commit | 34ec954f8ef8201fd16942acca55ac19db8ff7b7 (patch) | |
tree | e55303f6c61dfaa3c918e0b9cfe57181eb8c839c /src/or/config.h | |
parent | d98dfb3746790448b0dcff2aa9a00e5e2602688a (diff) | |
download | tor-34ec954f8ef8201fd16942acca55ac19db8ff7b7.tar.gz tor-34ec954f8ef8201fd16942acca55ac19db8ff7b7.zip |
Expose commandline parser so that we can use it for --quiet,etc.
Fix for bug 9578.
Diffstat (limited to 'src/or/config.h')
-rw-r--r-- | src/or/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h index eb16e74610..0ed5a5b5f8 100644 --- a/src/or/config.h +++ b/src/or/config.h @@ -96,6 +96,10 @@ int init_cookie_authentication(const char *fname, const char *header, or_options_t *options_new(void); +int config_parse_commandline(int argc, char **argv, int ignore_errors, + config_line_t **result, + config_line_t **cmdline_result); + void config_register_addressmaps(const or_options_t *options); /* XXXX024 move to connection_edge.h */ int addressmap_register_auto(const char *from, const char *to, |