diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 12:10:23 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 12:10:23 +0200 |
commit | a047e6bc29fb9c3e62c0835e55b9c6322ec62f05 (patch) | |
tree | e00b78755e5bba6e74a1bf318606cb4794df90c2 /interface.h | |
parent | a323f3adf275954727f32895eea37bfcf0aa9fb7 (diff) | |
download | netifd-a047e6bc29fb9c3e62c0835e55b9c6322ec62f05.tar.gz |
make it possible to decouple interface availability from having a main device
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 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); |