uci_blob: add an element to uci_blob_param_list to allow the tracking of validation...
authorJohn Crispin <blogic@openwrt.org>
Mon, 17 Feb 2014 12:15:17 +0000 (12:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 17 Feb 2014 12:20:11 +0000 (13:20 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
uci_blob.h

index d2294d8b860353ec0985bf1ec9b63a3be1a94615..db97128feb78cb37252fb00b071c9c3d132c2f71 100644 (file)
@@ -25,6 +25,7 @@ struct uci_blob_param_list {
        int n_params;
        const struct blobmsg_policy *params;
        const struct uci_blob_param_info *info;
        int n_params;
        const struct blobmsg_policy *params;
        const struct uci_blob_param_info *info;
+       const char * const *validate;
 
        int n_next;
        const struct uci_blob_param_list *next[];
 
        int n_next;
        const struct uci_blob_param_list *next[];