diff options
Diffstat (limited to 'test/parser/handler.c')
-rw-r--r-- | test/parser/handler.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/parser/handler.c b/test/parser/handler.c index f585c31..437f765 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -1,9 +1,12 @@ +#include <assert.h> + #include <talloc/talloc.h> #include <types/types.h> #include "device-handler.h" +typedef void (*boot_status_fn)(void *arg, struct boot_status *); void discover_server_notify_device_add(struct discover_server *server, struct device *device) @@ -26,3 +29,32 @@ void discover_server_notify_device_remove(struct discover_server *server, (void)device; } +void discover_server_notify_boot_status(struct discover_server *server, + struct boot_status *status) +{ + (void)server; + (void)status; +} + +void parser_init(void) +{ +} + +void iterate_parsers(struct discover_context *ctx, enum conf_method method) +{ + (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) +{ + (void)ctx; + (void)opt; + (void)cmd; + (void)dry_run; + (void)status_fn; + (void)status_arg; + assert(false); +} |