diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-06-09 11:47:20 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-06-28 16:17:21 +1000 |
commit | 1a72ffef7837cd2aa3e6be945ec03fb6b5caa51a (patch) | |
tree | e2680bc7dc7744f58ac7f2cc9f224f6a22928fa4 /discover/device-handler.h | |
parent | dc96fc7df262a0b72ece710dcfc9ffab1c952dec (diff) | |
download | talos-petitboot-1a72ffef7837cd2aa3e6be945ec03fb6b5caa51a.tar.gz talos-petitboot-1a72ffef7837cd2aa3e6be945ec03fb6b5caa51a.zip |
discover/device-handler: Make boot_status() public
Rename boot_status() to device_handler_boot_status() and make it
accessible by files that include device-handler.h. This enables the boot
status to be updated from additional callers, in particular within
parser functions.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r-- | discover/device-handler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h index 12f5ce0..6b1a757 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -4,6 +4,7 @@ #include <stdbool.h> #include <list/list.h> +#include <types/types.h> struct device_handler; struct discover_device; @@ -96,6 +97,8 @@ int device_handler_conf(struct device_handler *handler, void device_handler_remove(struct device_handler *handler, struct discover_device *device); +void device_handler_boot_status(void *arg, struct boot_status *status); + struct discover_context *device_handler_discover_context_create( struct device_handler *handler, struct discover_device *device); |