aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/confparse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-22 15:01:57 -0400
committerNick Mathewson <nickm@torproject.org>2019-07-24 15:21:56 -0400
commit7e91d4f57298fc08e4aad8ca90ecfad7cf9de206 (patch)
tree7741a023586fc9c777214581cb605ea9e8a39eaf /src/app/config/confparse.h
parent769fe817174d238c2c4a615872d6df9a0379dfc6 (diff)
downloadtor-7e91d4f57298fc08e4aad8ca90ecfad7cf9de206.tar.gz
tor-7e91d4f57298fc08e4aad8ca90ecfad7cf9de206.zip
Replace config_find_option with a variant that exposes less
Diffstat (limited to 'src/app/config/confparse.h')
-rw-r--r--src/app/config/confparse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/config/confparse.h b/src/app/config/confparse.h
index a6a2450aee..6e1e8cb3e0 100644
--- a/src/app/config/confparse.h
+++ b/src/app/config/confparse.h
@@ -111,9 +111,9 @@ int config_assign(const config_mgr_t *mgr, void *options,
struct config_line_t *list,
unsigned flags, char **msg);
const char *config_find_deprecation(const config_mgr_t *mgr,
- const char *key);
-const config_var_t *config_find_option(const config_mgr_t *mgr,
- const char *key);
+ const char *key);
+const char *config_find_option_name(const config_mgr_t *mgr,
+ const char *key);
const char *config_expand_abbrev(const config_mgr_t *mgr,
const char *option,
int command_line, int warn_obsolete);