summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-17 15:15:08 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-11-17 15:15:08 +0100
commit0eb6aa7562ae8db51c09b2c370a65f01b0ac1cff (patch)
tree4b10135d9fad0bd344d549494a721dfb0a61713d /system.h
parent5a0328c7b039a90e988aaab8e03eb8ce5508d62b (diff)
downloadnetifd-0eb6aa7562ae8db51c09b2c370a65f01b0ac1cff.tar.gz
device: fetch settings from external devices to make them usable for status output
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'system.h')
-rw-r--r--system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system.h b/system.h
index 486fe14..b3298bd 100644
--- a/system.h
+++ b/system.h
@@ -114,6 +114,7 @@ int system_vlan_del(struct device *dev);
int system_vlandev_add(struct device *vlandev, struct device *dev, struct vlandev_config *cfg);
int system_vlandev_del(struct device *vlandev);
+void system_if_get_settings(struct device *dev, struct device_settings *s);
void system_if_clear_state(struct device *dev);
int system_if_up(struct device *dev);
int system_if_down(struct device *dev);