};
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);
int interface_attach_bridge(struct interface *iface, struct uci_section *s);
+void start_pending_interfaces(void);
+
#endif