openwrt/package
Jeffery To d13e86d4c2 procd: Add wrapper for uci_validate_section()
This adds a wrapper (uci_load_validate) for uci_validate_section() that
allows callers (through a callback function) to access the values set by
uci_validate_section(), without having to manually declare a
(potentially long) list of local variables.

The callback function receives two arguments when called, the config
section name and the return value of uci_validate_section().

If no callback function is given, then the wrapper exits with the value
returned by uci_validate_section().

This also updates several init scripts to use the new wrapper function.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-01-22 09:05:59 +01:00
..
base-files procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
boot uboot-sunxi: Orange Pi Zero Plus: Fix SdCard detection 2019-01-13 17:35:14 +01:00
devel gdb: The signal definitions of musl and gdb collide 2019-01-12 22:38:50 +01:00
firmware ath10k-firmware: update Candela Tech firmware images 2018-12-20 09:23:45 +01:00
kernel mt76: update to the latest version 2019-01-20 19:01:12 +01:00
libs ncurses: package only versioned shared objects 2019-01-22 08:49:36 +01:00
network procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
system procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
utils procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
Makefile build: add ABI_VERSION to binary package names 2019-01-19 14:32:12 +01:00