]> pilppa.org Git - uci.git/blobdiff - uci.h
add flag for naming unnamed sections
[uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 574a3849f44ea828e4fcc7021bbf5a35e8303994..e921269872a114f43611907bbea44983aba0bb51 100644 (file)
--- a/uci.h
+++ b/uci.h
@@ -237,8 +237,9 @@ enum uci_type {
 };
 
 enum uci_flags {
-       UCI_FLAG_STRICT = (1 << 0), /* strict mode for the parser */
-       UCI_FLAG_PERROR = (1 << 1), /* print error messages to stderr */
+       UCI_FLAG_STRICT =      (1 << 0), /* strict mode for the parser */
+       UCI_FLAG_PERROR =      (1 << 1), /* print parser error messages */
+       UCI_FLAG_EXPORT_NAME = (1 << 2), /* when exporting, name unnamed sections */
 };
 
 struct uci_element