summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index e298fed..9a7cf6d 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -45,6 +45,17 @@ void discover_context_add_boot_option(struct discover_context *ctx,
int device_handler_event(struct device_handler *handler, struct event *event);
+struct discover_device *device_lookup_by_name(struct device_handler *handler,
+ const char *name);
+struct discover_device *device_lookup_by_path(struct device_handler *handler,
+ const char *path);
+struct discover_device *device_lookup_by_uuid(struct device_handler *handler,
+ const char *uuid);
+struct discover_device *device_lookup_by_label(struct device_handler *handler,
+ const char *label);
+struct discover_device *device_lookup_by_id(struct device_handler *handler,
+ const char *id);
+
void device_handler_boot(struct device_handler *handler,
struct boot_command *cmd);
OpenPOWER on IntegriCloud