summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-05 15:09:40 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-07-05 15:10:43 +0200
commitad272ffe7e9d815aca79def21e35e83fa479840a (patch)
tree37013ac2a7565a855be7cfb1f8c173f4060a2ff0 /device.h
parent55b8d754c65c0568b68f6ab7398d4378a96b5aa1 (diff)
device: export device_broadcast_event
Diffstat (limited to 'device.h')
-rw-r--r--device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/device.h b/device.h
index c76c472..3f8dc37 100644
--- a/device.h
+++ b/device.h
@@ -163,6 +163,7 @@ void device_cleanup(struct device *iface);
struct device *device_get(const char *name, int create);
void device_add_user(struct device_user *dep, struct device *iface);
void device_remove_user(struct device_user *dep);
+void device_broadcast_event(struct device *dev, enum device_event ev);
void device_set_present(struct device *dev, bool state);
void device_refresh_present(struct device *dev);