summaryrefslogtreecommitdiff
path: root/src/common/confline.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-31 10:27:40 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-04 11:11:01 -0400
commitb6f22524ee69e5cc458673f59cfb66054f7d0c82 (patch)
tree14346d4af3f19cd0af7b8e3cf1bcfe85e204b1df /src/common/confline.h
parentc2947dbb8645ed7c1db58dabff8752abf9625e0d (diff)
downloadtor-b6f22524ee69e5cc458673f59cfb66054f7d0c82.tar.gz
tor-b6f22524ee69e5cc458673f59cfb66054f7d0c82.zip
Move config line parsing function to confline.c
Diffstat (limited to 'src/common/confline.h')
-rw-r--r--src/common/confline.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/confline.h b/src/common/confline.h
index 86eabe00b2..c695bf6b23 100644
--- a/src/common/confline.h
+++ b/src/common/confline.h
@@ -40,6 +40,8 @@ int config_lines_eq(config_line_t *a, config_line_t *b);
int config_count_key(const config_line_t *a, const char *key);
int config_get_lines(const char *string, config_line_t **result, int extended);
void config_free_lines(config_line_t *front);
-
+const char *parse_config_line_from_str_verbose(const char *line,
+ char **key_out, char **value_out,
+ const char **err_out);
#endif