summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-03-29 04:25:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-03-29 04:25:30 +0200
commitd2bf3c09479e5956dfcc0914c99082e6ea6f94dc (patch)
treee9c1324b9b71beaa75c38282c8c4e00ccd30ac4e /src/fastd.h
parenteb0c48b789bbf41745287adb6b2949f84e7e9171 (diff)
downloadfastd-d2bf3c09479e5956dfcc0914c99082e6ea6f94dc.tar
fastd-d2bf3c09479e5956dfcc0914c99082e6ea6f94dc.zip
Add support for Tinc-like peer directory configurations
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index dbf9e61..ba5aed0 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -126,6 +126,7 @@ struct _fastd_context {
void fastd_printf(const fastd_context *ctx, const char *format, ...);
+void fastd_read_config_dir(fastd_context *ctx, fastd_config *conf, const char *dir, int depth);
void fastd_read_config(fastd_context *ctx, fastd_config *conf, const char *filename, bool peer_config, int depth);
void fastd_configure(fastd_context *ctx, fastd_config *conf, int argc, char *const argv[]);