X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2Fhandler.c;h=d9057eb56c60fd5bff19e937e80a4bf43abd0ab6;hb=dd8fe077022138d1f6aca7e6d6cceec61f56ce95;hp=437f76591b9b65b37e629b0775ce2df4a29f249c;hpb=f611bde3f182e9a4befb48a0160d1831708aca67;p=petitboot diff --git a/test/parser/handler.c b/test/parser/handler.c index 437f765..d9057eb 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -40,15 +40,15 @@ void parser_init(void) { } -void iterate_parsers(struct discover_context *ctx, enum conf_method method) +void iterate_parsers(struct discover_context *ctx) { (void)ctx; - (void)method; assert(false); } -int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd, - int dry_run, boot_status_fn status_fn, void *status_arg) +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)ctx; (void)opt; @@ -58,3 +58,8 @@ int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd, (void)status_arg; assert(false); } + +void boot_cancel(struct boot_task *task) +{ + (void)task; +}