From bf1aec970e9ac0600266fe7a045847a62f18ac3b Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 19 Jun 2009 23:49:34 +0200 Subject: Adds support for soft reconfiguration. --- conf/conf.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf/conf.h') diff --git a/conf/conf.h b/conf/conf.h index ef27f3f..8c2d549 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -50,7 +50,9 @@ struct config *config_alloc(byte *name); int config_parse(struct config *); int cli_parse(struct config *); void config_free(struct config *); -int config_commit(struct config *); +int config_commit(struct config *, int type); +#define RECONFIG_HARD 0 +#define RECONFIG_SOFT 1 void cf_error(char *msg, ...) NORET; void config_add_obstacle(struct config *); void config_del_obstacle(struct config *); -- cgit v1.2.3