summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-29 19:39:51 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-07-29 19:42:36 +0200
commit71016cda9739642fd49ffa949555e7240b7b1284 (patch)
tree70008362b7b413376d039dc2f23f35393ec9aa80 /config.h
parentb45b4104d5d3db94254328cb0ed128d22835aa15 (diff)
add support for multiple config_param_list::next pointers
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.h b/config.h
index 6403e1f..83d7c25 100644
--- a/config.h
+++ b/config.h
@@ -15,10 +15,12 @@ union config_param_info {
};
struct config_param_list {
- const struct config_param_list *next;
- int n_params;
+ int n_params, n_next;
+
const struct blobmsg_policy *params;
const union config_param_info *info;
+
+ const struct config_param_list *next[];
};
#endif