diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-13 21:16:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-13 21:16:14 +0200 |
commit | 71427e54fa17dacd1ace6077bffb9f9b9d456ebb (patch) | |
tree | 2fe7e2e23e91569bfc7bd9b0f6e117470ac9202f /interface.h | |
parent | 1f8dc227cdd425f1313f564fd074c614bb1954a3 (diff) | |
download | netifd-71427e54fa17dacd1ace6077bffb9f9b9d456ebb.tar.gz |
add some infrastructure code for proto handlers
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/interface.h b/interface.h index 92bae5a..e3b5ff7 100644 --- a/interface.h +++ b/interface.h @@ -55,9 +55,11 @@ struct interface { }; struct interface *get_interface(const char *name); -struct interface *alloc_interface(const char *name); +struct interface *alloc_interface(const char *name, struct uci_section *s); void free_interface(struct interface *iface); +void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state); + int set_interface_up(struct interface *iface); int set_interface_down(struct interface *iface); |