summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-03 02:17:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-03 02:17:33 +0200
commit89208e7de1c477c8a49b559b36c3177ab1ff5645 (patch)
treeccdc5aacc3e67cdec48a0bdb6b006b18a0975cc7 /src/fastd.h
parent053e3f630a1a90fbb977db307b84e4bf7fb23a96 (diff)
downloadfastd-89208e7de1c477c8a49b559b36c3177ab1ff5645.tar
fastd-89208e7de1c477c8a49b559b36c3177ab1ff5645.zip
Ignore peer configs with errors in peer dirs instead of exiting
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h
index f402be8..6eab856 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -140,7 +140,7 @@ struct _fastd_config_str {
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);
+bool 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[]);
void fastd_random_bytes(fastd_context *ctx, void *buffer, size_t len, bool secure);