summaryrefslogtreecommitdiffstats
path: root/discover/device-handler.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-03-07 10:22:42 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-04-15 15:42:27 +0800
commitdbf139003bd6c8c6ca03ae7f533aa74afd8060c6 (patch)
tree7613e9e0eeb314aadbef3aa341643db8c360c8f1 /discover/device-handler.h
parentc62667e5c78ea212e5ac49244e9792954a1d8f71 (diff)
downloadpetitboot-dbf139003bd6c8c6ca03ae7f533aa74afd8060c6.zip
petitboot-dbf139003bd6c8c6ca03ae7f533aa74afd8060c6.tar.gz
Move --dry-run option to discover server
Now that the server does the booting, we should move the --dry-run argument to the server. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/device-handler.h')
-rw-r--r--discover/device-handler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/discover/device-handler.h b/discover/device-handler.h
index 7207f8d..4cf7d7d 100644
--- a/discover/device-handler.h
+++ b/discover/device-handler.h
@@ -21,7 +21,8 @@ struct discover_context {
struct list_item list;
};
-struct device_handler *device_handler_init(struct discover_server *server);
+struct device_handler *device_handler_init(struct discover_server *server,
+ int dry_run);
void device_handler_destroy(struct device_handler *devices);
OpenPOWER on IntegriCloud