summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-05 03:52:39 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-04-05 03:52:39 +0200
commitd3a4844047c7b3c62511a9836a81703b5ee70fc0 (patch)
treecd25491c58cbba0bebd5f0f17ce155d668528544 /device.h
parentb18fb36bd3c7615733c351c99691e1139f386c0c (diff)
add code for cleaning up unused devices mentioned in the config
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/device.h b/device.h
index 79aec32..bbb78d8 100644
--- a/device.h
+++ b/device.h
@@ -100,6 +100,8 @@ int claim_device(struct device *dev);
void release_device(struct device *dev);
int check_device_state(struct device *dev);
+void cleanup_devices(void);
+
struct device *get_vlan_device_chain(const char *ifname, bool create);
struct device *bridge_create(const char *name, struct uci_section *s);