summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface.h b/interface.h
index ace6a5d..f92a35e 100644
--- a/interface.h
+++ b/interface.h
@@ -174,11 +174,9 @@ struct interface {
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);
+struct interface *interface_alloc(const char *name, struct blob_attr *config, bool dynamic);
-void interface_set_dynamic(struct interface *iface);
-
-void interface_add(struct interface *iface, struct blob_attr *config);
+bool 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);