summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2014-07-24 15:05:36 +1000
committerJeremy Kerr <jk@ozlabs.org>2014-07-28 16:02:43 +0800
commite1f6ffb9ca9e35738385a3524ba46896a0b519e6 (patch)
tree823a6baad3d7ec7a34e44254c5f84043de7be812 /discover/device-handler.h
parenta5dad9c05cd72820e64e0461889e9e77eaf8202d (diff)
downloadtalos-petitboot-e1f6ffb9ca9e35738385a3524ba46896a0b519e6.tar.gz
talos-petitboot-e1f6ffb9ca9e35738385a3524ba46896a0b519e6.zip
discover: Enable 'url' pb-events
Adds a new option to pb-event; ./pb-event url@dev url=scheme://path/to/petitboot.conf Specifies a remote conf file to parse for boot options Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index 246abf9..e8e71ad 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -117,6 +117,8 @@ void device_handler_boot(struct device_handler *handler,
void device_handler_cancel_default(struct device_handler *handler);
void device_handler_update_config(struct device_handler *handler,
struct config *config);
+void device_handler_process_url(struct device_handler *handler,
+ const char *url);
void device_handler_reinit(struct device_handler *handler);
int device_request_write(struct discover_device *dev, bool *release);
OpenPOWER on IntegriCloud