]> mj.ucw.cz Git - libucw.git/commitdiff
Conf: Explain impossibility of section sharing
authorMartin Mares <mj@ucw.cz>
Sun, 29 Apr 2012 11:53:24 +0000 (13:53 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 29 Apr 2012 11:57:31 +0000 (13:57 +0200)
ucw/conf.h

index 4254f05c6426549402367e7fda2b9aab4beeac91..23c9c5cc9849ec7e683ece65f8550e6724d31f8e 100644 (file)
@@ -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);
 /**