ucimap: allow sectmaps to specify the option map data structure size (useful for...
[project/uci.git] / ucimap.h
index 43f54e047c7931c3ecc44a30bc55d153cf9806a9..001ae1b206338f426cc3debe6c2abf02ef16c0ab 100644 (file)
--- a/ucimap.h
+++ b/ucimap.h
@@ -98,6 +98,7 @@ struct uci_sectmap {
        /* list of option mappings for this section */
        struct uci_optmap *options;
        unsigned int n_options;
+       unsigned int options_size;
 };
 
 struct uci_optmap {