remove ucimap-example, as ucimap is deprecated Signed-off-by: Felix Fietkau <nbd@openwrt.org>
ucimap: get rid of duplicate initialization warnings Signed-off-by: Felix Fietkau <nbd@openwrt.org>
add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev)
ucimap: simplify the parse/format callbacks. the data argument now always points to the field in the data structure
replace the use of list.h in the ucimap core, relicense ucimap to LGPL v2.1, update copyright headers
fix a typo
ucimap: add support for saving lists to uci
ucimap: add helper function for resizing lists and freeing items (both using ucimap internal allocation list), add test coverage for config change operations
ucimap: add custom free() callbacks for options, only used on custom datatypes
only call section ->add callbacks after all fixups have been processed, also call ->add for sections manually parsed later
fix missing api change
ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list items whitespace-separated in an option
turn ucimap-example.c into a test case
ucimap: implement format callback for custom data types
ucimap: add example for using the alloc callback
ucimap: move the section data to a dedicated field inside the managed structs
ucimap: rename uci_sectmap* to uci_sectionmap*
ucimap: add callback for validation/conversion and custom data type
shorten callback names
ucimap: add an example for optmap data structure encapsulation