diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-08-25 12:59:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-13 12:36:39 -0400 |
commit | a1096fe1802ee3585dd6296b50085017e1928edf (patch) | |
tree | 0944be1e8668c421e861ce5da1a5dbaf2a308973 /src/or/confparse.h | |
parent | 34ec954f8ef8201fd16942acca55ac19db8ff7b7 (diff) | |
download | tor-a1096fe1802ee3585dd6296b50085017e1928edf.tar.gz tor-a1096fe1802ee3585dd6296b50085017e1928edf.zip |
Use commandline parser for other options
These were previously allowed only in the initial position:
--help, -h , --version, --digests, --list-torrc-options
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r-- | src/or/confparse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/confparse.h b/src/or/confparse.h index 924ee0d945..a1b6277255 100644 --- a/src/or/confparse.h +++ b/src/or/confparse.h @@ -103,6 +103,8 @@ void *config_new(const config_format_t *fmt); void config_line_append(config_line_t **lst, const char *key, const char *val); config_line_t *config_lines_dup(const config_line_t *inp); +const config_line_t *config_line_find(const config_line_t *lines, + const char *key); void config_free(const config_format_t *fmt, void *options); int config_lines_eq(config_line_t *a, config_line_t *b); int config_count_key(const config_line_t *a, const char *key); |