add missing lib flags for ucimap-example
[project/uci.git] / ucimap.h
index fc34090297e605e5783f95308b41fd49d545e701..ccd6127bcd4a9ac164fdb55ab54d82638f8a5090 100644 (file)
--- a/ucimap.h
+++ b/ucimap.h
@@ -103,13 +103,13 @@ struct uci_sectionmap {
        /* type string for the uci section */
        const char *type;
 
-       /* length of the struct to map into */
+       /* length of the struct to map into, filled in by macro */
        unsigned int alloc_len;
 
-       /* sectionmap offset */
+       /* sectionmap offset, filled in by macro */
        unsigned int smap_offset;
 
-       /* allocate a new data structure and return a pointer to the section map data */
+       /* return a pointer to the section map data (allocate if necessary) */
        struct ucimap_section_data *(*alloc)(struct uci_map *map,
                struct uci_sectionmap *sm, struct uci_section *s);