Fix delta path handling. - Make ctx->savedir sit at the end of ctx->delta_path. - Add notes to uci_set_savedir() and uci_add_delta_path() to document the behaviour changes.
remove unused hook support Signed-off-by: Felix Fietkau <nbd@openwrt.org>
remove plugin support, it has been unused for a long time and should not be used for any new code 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)
free memory for uci hooks
fix lgpl license headers
split off and compile delta.c separately
uci_history -> uci_delta
split off and compile util.c separately
split off and compile file.c separately
add missing null pointer check after malloc
add plugin support
fix compilation on later glibc/gcc versions with stricter checks
add \n to error messages only when output goes to stderr
extend api to be able to get a full error string instead of printing it
fix use-after-free
load the saved history by default to make things easier for the lua binding
rename ctx->errno to ctx->err to avoid conflicts with a #define errno in the system headers
more plugin support
make more functions available externally