+extern struct vlist_tree interfaces;
+extern const struct uci_blob_param_list interface_attr_list;
+
+struct interface *interface_alloc(const char *name, struct blob_attr *config);
+
+void interface_set_dynamic(struct interface *iface);
+
+void interface_add(struct interface *iface, struct blob_attr *config);
+bool interface_add_alias(struct interface *iface, struct blob_attr *config);
+
+void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);
+
+void interface_set_available(struct interface *iface, bool new_state);
+int interface_set_up(struct interface *iface);
+int interface_set_down(struct interface *iface);
+void __interface_set_down(struct interface *iface, bool force);
+
+void interface_set_main_dev(struct interface *iface, struct device *dev);
+void interface_set_l3_dev(struct interface *iface, struct device *dev);
+
+void interface_add_user(struct interface_user *dep, struct interface *iface);
+void interface_remove_user(struct interface_user *dep);
+
+int interface_add_link(struct interface *iface, struct device *dev);
+int interface_remove_link(struct interface *iface, struct device *dev);
+int interface_handle_link(struct interface *iface, const char *name, bool add);
+
+void interface_add_error(struct interface *iface, const char *subsystem,
+ const char *code, const char **data, int n_data);
+
+int interface_add_data(struct interface *iface, const struct blob_attr *data);