summaryrefslogtreecommitdiff
path: root/src/or/confparse.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-03-31 10:24:38 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-04 11:11:01 -0400
commitc2947dbb8645ed7c1db58dabff8752abf9625e0d (patch)
tree8f226a69fbb0d2718dad2da3c9dcace527c46352 /src/or/confparse.h
parent321c1c453e4ee757be7df823da28b0f4af7ae60a (diff)
downloadtor-c2947dbb8645ed7c1db58dabff8752abf9625e0d.tar.gz
tor-c2947dbb8645ed7c1db58dabff8752abf9625e0d.zip
Move config_line_t functions from confparse.c into common.
I'm doing this to storagedir to used config_line_t.
Diffstat (limited to 'src/or/confparse.h')
-rw-r--r--src/or/confparse.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/or/confparse.h b/src/or/confparse.h
index 5db6c8e4b6..6f5c681ba8 100644
--- a/src/or/confparse.h
+++ b/src/or/confparse.h
@@ -103,14 +103,7 @@ typedef struct config_format_t {
#define CAL_WARN_DEPRECATIONS (1u<<2)
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);
config_line_t *config_get_assigned_option(const config_format_t *fmt,
const void *options, const char *key,
int escape_val);
@@ -132,8 +125,6 @@ const char *config_find_deprecation(const config_format_t *fmt,
const config_var_t *config_find_option(const config_format_t *fmt,
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 *config_expand_abbrev(const config_format_t *fmt,
const char *option,
int command_line, int warn_obsolete);