diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-08 10:28:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-25 14:13:03 -0400 |
commit | dab35386cafc837c29fd251213337dec092043fe (patch) | |
tree | fd08f56f95d4a8fd6348cd9580c6352f43f8c9ee /src/lib/encoding/confline.h | |
parent | 9471391694168f3d82365ced07b14e466b32b612 (diff) | |
download | tor-dab35386cafc837c29fd251213337dec092043fe.tar.gz tor-dab35386cafc837c29fd251213337dec092043fe.zip |
Add a case-insensitive variant to config_line_find()
Diffstat (limited to 'src/lib/encoding/confline.h')
-rw-r--r-- | src/lib/encoding/confline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/encoding/confline.h b/src/lib/encoding/confline.h index 3d9ae8a662..56ea36bf61 100644 --- a/src/lib/encoding/confline.h +++ b/src/lib/encoding/confline.h @@ -48,6 +48,8 @@ config_line_t *config_lines_dup_and_filter(const config_line_t *inp, const char *key); const config_line_t *config_line_find(const config_line_t *lines, const char *key); +const config_line_t *config_line_find_case(const config_line_t *lines, + const char *key); int config_lines_eq(config_line_t *a, config_line_t *b); int config_count_key(const config_line_t *a, const char *key); void config_free_lines_(config_line_t *front); |