Felix Fietkau
|
151917e819
preserve section list order
|
14 years ago |
Felix Fietkau
|
cd68df2c25
rename ucimap_data::section to ptr
|
14 years ago |
Felix Fietkau
|
b6b935fd51
add missing build dependencies
|
14 years ago |
Felix Fietkau
|
2a8229347c
expose the ucimap_parse_section function in the api, do not defer fixups if immediate lookup works
|
14 years ago |
Felix Fietkau
|
e0a0a4bf8a
protect ucimap.h against multiple inclusions
|
14 years ago |
Felix Fietkau
|
e414671033
move ucimap into the core library
|
14 years ago |
Felix Fietkau
|
477c19a722
ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list items whitespace-separated in an option
|
14 years ago |
Felix Fietkau
|
237a389754
ucimap: properly test bool interpretation
|
14 years ago |
Felix Fietkau
|
65f3dccc35
ucimap: fix boolean interpretation, add range checks for int values (thx, henning)
|
14 years ago |
Felix Fietkau
|
034d6a865d
add missing lib flags for ucimap-example
|
14 years ago |
Felix Fietkau
|
54042793af
remove ucimap-example during make clean
|
14 years ago |
Felix Fietkau
|
2be6befa78
turn ucimap-example.c into a test case
|
14 years ago |
Felix Fietkau
|
7b75c2af80
add missing null pointer check after malloc
|
14 years ago |
Felix Fietkau
|
f85abaa9f8
ucimap: clarify alloc
|
14 years ago |
Felix Fietkau
|
288e37d1e9
bump major version
|
14 years ago |
Felix Fietkau
|
9073bf0c71
ucimap: some hints
|
14 years ago |
Felix Fietkau
|
82a71ad8d8
ucimap: implement format callback for custom data types
|
14 years ago |
Felix Fietkau
|
6d75ac9588
ucimap: add example for using the alloc callback
|
14 years ago |
Felix Fietkau
|
ceaa2fbb3c
ucimap: allow api users to take over allocation of section data structures
|
14 years ago |
Felix Fietkau
|
3fa4e980d9
ucimap: move the section data to a dedicated field inside the managed structs
|
14 years ago |
Felix Fietkau
|
062323b4f6
ucimap: rename uci_sectmap* to uci_sectionmap*
|
14 years ago |
Felix Fietkau
|
8ae8a7fc89
ucimap: add callback for validation/conversion and custom data type
|
14 years ago |
Felix Fietkau
|
75c9a5d0fa
shorten callback names
|
14 years ago |
Felix Fietkau
|
95967daea5
ucimap: add an example for optmap data structure encapsulation
|
14 years ago |
Felix Fietkau
|
75888e2645
ucimap: cleanup OPTMAP_OPTION macro, rename to UCIMAP_OPTION
|
14 years ago |
Felix Fietkau
|
1afdbf8f22
ucimap: ignore unhandled data structure changes for now
|
14 years ago |
Felix Fietkau
|
f107b5a34f
fix ucimap_set_changed
|
14 years ago |
Felix Fietkau
|
ec7b1de53e
ucimap: free memory allocated for fixups
|
14 years ago |
Felix Fietkau
|
7af0c0eda0
ucimap: clean up list handling, use arrays instead of linked lists
|
14 years ago |
Felix Fietkau
|
43ff3a3a54
ucimap: allow sectmaps to specify the option map data structure size (useful for encapsulating it in another data structure
|
14 years ago |