diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-30 04:36:24 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-30 04:36:24 +0100 |
commit | a18b49e7c6271b0079fd673ceb3479399ed8099c (patch) | |
tree | 6b21b121ea9c8e0b8037b85ebc88fe7ec3052315 /src/config.h | |
parent | d5a043a7c0672df5da19a6024da4ab1af45151a9 (diff) | |
download | fastd-a18b49e7c6271b0079fd673ceb3479399ed8099c.tar fastd-a18b49e7c6271b0079fd673ceb3479399ed8099c.zip |
Clean up some parts of the configuration handling (and fix a few little bugs)
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index ad3d6b1..2b43968 100644 --- a/src/config.h +++ b/src/config.h @@ -30,10 +30,10 @@ #include "fastd.h" -bool fastd_config_protocol(fastd_context_t *ctx, fastd_config_t *conf, const char *name); +void fastd_config_protocol(fastd_context_t *ctx, fastd_config_t *conf, const char *name); void fastd_config_method(fastd_context_t *ctx, fastd_config_t *conf, const char *name); -bool fastd_config_add_log_file(fastd_context_t *ctx, fastd_config_t *conf, const char *name, fastd_loglevel_t level); -bool fastd_config_bind_address(fastd_context_t *ctx, fastd_config_t *conf, const fastd_peer_address_t *address, const char *bindtodev, bool default_v4, bool default_v6); +void fastd_config_add_log_file(fastd_context_t *ctx, fastd_config_t *conf, const char *name, fastd_loglevel_t level); +void fastd_config_bind_address(fastd_context_t *ctx, fastd_config_t *conf, const fastd_peer_address_t *address, const char *bindtodev, bool default_v4, bool default_v6); void fastd_config_peer_group_push(fastd_context_t *ctx, fastd_config_t *conf, const char *name); void fastd_config_peer_group_pop(fastd_context_t *ctx, fastd_config_t *conf); void fastd_config_release(fastd_context_t *ctx, fastd_config_t *conf); |