4 #include <talloc/talloc.h>
5 #include <types/types.h>
7 #include "device-handler.h"
9 typedef void (*boot_status_fn)(void *arg, struct boot_status *);
11 void discover_server_notify_device_add(struct discover_server *server,
12 struct device *device)
18 void discover_server_notify_boot_option_add(struct discover_server *server,
19 struct boot_option *option)
25 void discover_server_notify_device_remove(struct discover_server *server,
26 struct device *device)
32 void discover_server_notify_boot_status(struct discover_server *server,
33 struct boot_status *status)
39 void discover_server_notify_config(struct discover_server *server,
40 struct config *config)
46 void parser_init(void)
50 void iterate_parsers(struct discover_context *ctx)
56 struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
57 struct boot_command *cmd, int dry_run,
58 boot_status_fn status_fn, void *status_arg)
69 void boot_cancel(struct boot_task *task)