diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 14:09:05 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 14:09:05 +0200 |
commit | f2382b059a30759d41b248c6235f32de8c26047f (patch) | |
tree | 8f87fbcb2a7bd5ffe5f42f1b851a599db43d2cfa /interface.h | |
parent | f6fb6bee2c29f31d13d0b0288f4f680b6b56e9ba (diff) |
implement uci-to-blobmsg conversion as an abstraction between uci and the rest of netifd
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/interface.h b/interface.h index 480f759..d30bd36 100644 --- a/interface.h +++ b/interface.h @@ -2,6 +2,7 @@ #define __NETIFD_INTERFACE_H #include "device.h" +#include "config.h" struct interface; struct interface_proto_state; @@ -56,8 +57,10 @@ struct interface { struct ubus_object ubus; }; +extern const struct config_param_list interface_attr_list; + struct interface *get_interface(const char *name); -struct interface *alloc_interface(const char *name, struct uci_section *s); +struct interface *alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr); void free_interface(struct interface *iface); void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state); |