ucimap: rename uci_sectmap* to uci_sectionmap*
[project/uci.git] / ucimap.h
index 2aedc78..961d34e 100644 (file)
--- a/ucimap.h
+++ b/ucimap.h
        .name = #_field, \
        .offset = offsetof(_type, _field)
 
        .name = #_field, \
        .offset = offsetof(_type, _field)
 
-struct uci_sectmap;
+struct uci_sectionmap;
 struct uci_optmap;
 struct ucimap_list;
 
 struct uci_map {
 struct uci_optmap;
 struct ucimap_list;
 
 struct uci_map {
-       struct uci_sectmap **sections;
+       struct uci_sectionmap **sections;
        unsigned int n_sections;
        struct list_head sdata;
        struct list_head fixup;
        unsigned int n_sections;
        struct list_head sdata;
        struct list_head fixup;
@@ -78,7 +78,7 @@ struct uci_listmap {
        union ucimap_data data;
 };
 
        union ucimap_data data;
 };
 
-struct uci_sectmap {
+struct uci_sectionmap {
        /* type string for the uci section */
        const char *type;
 
        /* type string for the uci section */
        const char *type;
 
@@ -114,7 +114,7 @@ struct uci_optmap {
                struct {
                        int maxlen;
                } s;
                struct {
                        int maxlen;
                } s;
-               struct uci_sectmap *sm;
+               struct uci_sectionmap *sm;
        } data;
 };
 
        } data;
 };