summaryrefslogtreecommitdiff
path: root/interface.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-11 12:10:23 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-09-11 12:10:23 +0200
commita047e6bc29fb9c3e62c0835e55b9c6322ec62f05 (patch)
treee00b78755e5bba6e74a1bf318606cb4794df90c2 /interface.h
parenta323f3adf275954727f32895eea37bfcf0aa9fb7 (diff)
downloadnetifd-a047e6bc29fb9c3e62c0835e55b9c6322ec62f05.tar.gz
make it possible to decouple interface availability from having a main device
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 020306c..72a00c9 100644
--- a/interface.h
+++ b/interface.h
@@ -69,6 +69,7 @@ void interface_free(struct interface *iface);
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);