From 530d9f3cb5137a36ad33d86fb52f94dde81208f4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 27 Mar 2011 19:08:24 +0200 Subject: add a callback for dumping device status information --- device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'device.h') diff --git a/device.h b/device.h index bf93ebc..9ceeff5 100644 --- a/device.h +++ b/device.h @@ -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 *); }; -- cgit v1.2.3