summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-07 02:56:48 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-07 02:56:48 +0100
commitf8573c7b4c3a9e1a67cae787690f27a976aee11c (patch)
tree3c12caa8232012458026ed3d7b49fbe445877a3f /plugin.h
parent11cbb4498b2da95ece2ad4ce940ca9cda8b479eb (diff)
add ubus support
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin.h b/plugin.h
index 25bcaa3..3a2b2ea 100644
--- a/plugin.h
+++ b/plugin.h
@@ -37,5 +37,8 @@ struct uhttpd_ops {
};
struct uhttpd_plugin {
+ struct list_head list;
+
int (*init)(const struct uhttpd_ops *ops, struct config *conf);
+ void (*post_init)(void);
};