X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Fhandler.c;h=64978da92f745988fdfc871718981105d51b9e5a;hp=437f76591b9b65b37e629b0775ce2df4a29f249c;hb=2312c424d516862877c45a9566816acfe2da0f06;hpb=e983d818be18a975c519bd76294519a01ce7a1c3;ds=sidebyside diff --git a/test/parser/handler.c b/test/parser/handler.c index 437f765..64978da 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -47,8 +47,9 @@ void iterate_parsers(struct discover_context *ctx, enum conf_method 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 +59,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; +}