summaryrefslogtreecommitdiff
path: root/ucimap.c
Commit message (Expand)AuthorAgeFilesLines
* Replace malloc() + memset() with calloc()Hauke Mehrtens2020-10-061-4/+2
* ucimap: Check return of malloc()Hauke Mehrtens2020-10-061-2/+4
* ucimap: fix possible use of memory after it is freedPetr Štetiar2019-11-141-4/+11
* iron out all extra compiler warningsPetr Štetiar2019-11-141-7/+8
* style: fix whitespace errorsLuka Perkov2013-10-151-1/+1
* style: free(NULL) is perfectly valid so we can drop some checksLuka Perkov2013-10-151-4/+2
* ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-0/+1
* ucimap: fix a memory leak (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-0/+2
* add a few missing null pointer checks, and fix check vs dereference order in ...Felix Fietkau2011-10-211-0/+3
* check result of memory allocations (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-0/+2
* ucimap: fix use-after-free on cleanup (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-2/+3
* fix lgpl license headersFelix Fietkau2011-08-311-1/+1
* remove unused but set variable to fix a compiler warningFelix Fietkau2011-07-181-2/+0
* ucimap: ucimap_parse: consider smap_offset when allocating the section dataLars-Peter Clausen2010-08-211-0/+1
* simplify code (thx, henning)Felix Fietkau2010-08-171-12/+2
* ucimap: simplify the parse/format callbacks. the data argument now always poi...Felix Fietkau2009-09-061-9/+1
* ucimap: fix list size initialization, validate list size on fixups as wellFelix Fietkau2009-09-061-10/+25
* ucimap: fix list initializationFelix Fietkau2009-09-061-1/+1
* replace the use of list.h in the ucimap core, relicense ucimap to LGPL v2.1, ...Felix Fietkau2009-09-051-49/+69
* remove ucimap type->name conversion unless DEBUG is enabledFelix Fietkau2009-09-051-1/+3
* ucimap: add support for saving lists to uciFelix Fietkau2009-09-051-39/+76
* ucimap: add helper function for resizing lists and freeing items (both using ...Felix Fietkau2009-09-051-19/+95
* add sanity checks for optmap section type vs sectionmap typeFelix Fietkau2009-09-041-0/+8
* ucimap: add custom free() callbacks for options, only used on custom datatypesFelix Fietkau2009-09-041-7/+53
* add ucimap_free_section to the apiFelix Fietkau2009-09-041-1/+1
* add type safety checks for option mapsFelix Fietkau2009-09-041-2/+75
* only call section ->add callbacks after all fixups have been processed, also ...Felix Fietkau2009-09-021-9/+33
* preserve section list orderFelix Fietkau2009-09-011-1/+1
* rename ucimap_data::section to ptrFelix Fietkau2009-09-011-2/+2
* expose the ucimap_parse_section function in the api, do not defer fixups if i...Felix Fietkau2009-09-011-53/+67
* ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list i...Felix Fietkau2009-08-311-3/+65
* ucimap: fix boolean interpretation, add range checks for int values (thx, hen...Felix Fietkau2009-08-301-10/+14
* ucimap: implement format callback for custom data typesFelix Fietkau2009-08-301-7/+21
* ucimap: allow api users to take over allocation of section data structuresFelix Fietkau2009-08-291-2/+8
* ucimap: move the section data to a dedicated field inside the managed structsFelix Fietkau2009-08-291-43/+22
* ucimap: rename uci_sectmap* to uci_sectionmap*Felix Fietkau2009-08-291-25/+25
* ucimap: add callback for validation/conversion and custom data typeFelix Fietkau2009-08-291-9/+32
* shorten callback namesFelix Fietkau2009-08-291-4/+4
* ucimap: ignore unhandled data structure changes for nowFelix Fietkau2009-08-291-0/+5
* fix ucimap_set_changedFelix Fietkau2009-08-291-1/+2
* ucimap: free memory allocated for fixupsFelix Fietkau2009-08-291-0/+1
* ucimap: clean up list handling, use arrays instead of linked listsFelix Fietkau2009-08-291-91/+138
* ucimap: allow sectmaps to specify the option map data structure size (useful ...Felix Fietkau2009-08-291-2/+10
* fix const related compile error with newer gccFelix Fietkau2009-04-111-3/+6
* add foreign key and list support for ucimapFelix Fietkau2008-11-281-51/+227
* add libucimapFelix Fietkau2008-11-141-0/+290