summaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-19 16:43:22 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-10-22 14:10:33 +0200
commit381f47c5af62cec173528f5f539558d7a18b6d30 (patch)
treeec513fb911bdff393ea3e04fb67c34fd4aaf80d8 /interface.h
parent98ffa1331519ed3dd84bd351652ae0fde3df8c93 (diff)
add helper function for adding/removing devices to interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index b845c9b..4b7de59 100644
--- a/interface.h
+++ b/interface.h
@@ -167,6 +167,7 @@ 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);