summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-05 06:30:05 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-05 06:30:05 +0200
commitdf13b3ade3f366446033214b3a85228005c014ea (patch)
tree0fb722d2055cea789a5c3a378bcc14fb1d498c90 /config.h
parent409adfc2256d483b43b4cf92025e575212ea3372 (diff)
add config state tracking
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index 83d7c25..49a81e4 100644
--- a/config.h
+++ b/config.h
@@ -23,4 +23,12 @@ struct config_param_list {
const struct config_param_list *next[];
};
+struct config_state {
+ struct blob_attr *data;
+ unsigned int version;
+};
+
+void config_set_state(struct config_state *state, struct blob_attr *attr);
+
+
#endif