From d454bb58808fbb9d98b0719c86ab45f3f2dc446d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 29 Apr 2012 13:53:24 +0200 Subject: [PATCH] Conf: Explain impossibility of section sharing --- ucw/conf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ucw/conf.h b/ucw/conf.h index 4254f05c..23c9c5cc 100644 --- a/ucw/conf.h +++ b/ucw/conf.h @@ -488,6 +488,9 @@ void cf_journal_rollback_transaction(uns new_pool, struct cf_journal_item *oldj) * If @allow_unknown is set to 0 and a variable not described in @sec * is found in the configuration file, it produces an error. * If you set it to 1, all such variables are ignored. + * + * Please note that a single section definition cannot be used in multiple + * configuration contexts simultaneously. **/ void cf_declare_section(const char *name, struct cf_section *sec, uns allow_unknown); /** -- 2.39.2