aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs/conffile.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-28 09:38:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-28 09:38:17 -0400
commita1f3ece16d10649da2dfbbbf79a16d9c36e02563 (patch)
tree665ea6cb1a3673c876431754518de14ebd86e8ab /src/lib/fs/conffile.h
parent38fd3e0df06f72b3b67dfeb1d2a2c1c90761e05e (diff)
downloadtor-a1f3ece16d10649da2dfbbbf79a16d9c36e02563.tar.gz
tor-a1f3ece16d10649da2dfbbbf79a16d9c36e02563.zip
Move conffile and storagedir to lib/fs
Diffstat (limited to 'src/lib/fs/conffile.h')
-rw-r--r--src/lib/fs/conffile.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/fs/conffile.h b/src/lib/fs/conffile.h
new file mode 100644
index 0000000000..bd8250b002
--- /dev/null
+++ b/src/lib/fs/conffile.h
@@ -0,0 +1,17 @@
+/* Copyright (c) 2001 Matej Pfajfar.
+ * Copyright (c) 2001-2004, Roger Dingledine.
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_CONFFILE_H
+#define TOR_CONFFILE_H
+
+struct smartlist_t;
+struct config_line_t;
+
+int config_get_lines_include(const char *string, struct config_line_t **result,
+ int extended, int *has_include,
+ struct smartlist_t *opened_lst);
+
+#endif /* !defined(TOR_CONFLINE_H) */