libubus: add support for defining a policy mask
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Apr 2014 22:40:23 +0000 (00:40 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Apr 2014 22:40:25 +0000 (00:40 +0200)
commit2c71017cfb1d370abd1b52b3f59874e253914684
tree4f792613c368a84361d3c899c6988126f1c0d187
parent7c9e76ed087434e0fdbfb99d11182dae17e36f2c
libubus: add support for defining a policy mask

This allows sharing a policy array across methods, but masking out
unused entries for individual methods.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
libubus-obj.c
libubus.h