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 parser_init(void)
43 void iterate_parsers(struct discover_context *ctx, enum conf_method method)
50 int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd,
51 int dry_run, boot_status_fn status_fn, void *status_arg)