diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-27 19:08:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-27 19:08:24 +0200 |
commit | 530d9f3cb5137a36ad33d86fb52f94dde81208f4 (patch) | |
tree | 7d243b30e4430ada659ebdf6e0b6f9cdcba579f7 /device.h | |
parent | a3958947c58b98da2265d42e61b24f7d268c820c (diff) |
add a callback for dumping device status information
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ typedef int (*device_state_cb)(struct device *, bool up); struct device_type { const char *name; + void (*dump_status)(struct device *, struct blob_buf *buf); int (*check_state)(struct device *); void (*free)(struct device *); }; |