summaryrefslogtreecommitdiffstats
path: root/discover/boot.h
blob: ec61703144c5409aa77b71de2ce54d254839de0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _BOOT_H
#define _BOOT_H

struct boot_option;
struct boot_command;

typedef void (*boot_status_fn)(void *arg, struct boot_status *);

struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
		struct boot_command *cmd, int dry_run,
		boot_status_fn status_fn, void *status_arg);

void boot_cancel(struct boot_task *task);
#endif /* _BOOT_H */
OpenPOWER on IntegriCloud