diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-19 16:43:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-22 14:10:33 +0200 |
commit | 381f47c5af62cec173528f5f539558d7a18b6d30 (patch) | |
tree | ec513fb911bdff393ea3e04fb67c34fd4aaf80d8 /interface.h | |
parent | 98ffa1331519ed3dd84bd351652ae0fde3df8c93 (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.h | 1 |
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); |