]> pilppa.org Git - uci.git/blobdiff - ucimap.h
only call section ->add callbacks after all fixups have been processed, also call...
[uci.git] / ucimap.h
index d9aa2d9e957d982a4430a673d9e91c0f66f4b7c9..d384ef66fc808ce6c232a46169c8068ddf684ae9 100644 (file)
--- a/ucimap.h
+++ b/ucimap.h
@@ -54,6 +54,8 @@ struct uci_map {
        unsigned int n_sections;
        struct list_head sdata;
        struct list_head fixup;
+       struct list_head pending;
+       bool parsed;
 
        void *priv; /* user data */
 };
@@ -82,7 +84,7 @@ union ucimap_data {
        int i;
        bool b;
        char *s;
-       void *section;
+       void *ptr;
        struct ucimap_list *list;
 };