X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Fhandler.c;h=a9856b494fe2d29048901690d1e0bb75800178c9;hp=bfb61083c14eace6c3bfb99c289419131bdd2ae1;hb=93065a40773611096f2b1e095563ae21c5056c93;hpb=a65fe9b152b4a03f30b7ce88a17e7f177dd1c169 diff --git a/test/parser/handler.c b/test/parser/handler.c index bfb6108..a9856b4 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -7,8 +7,9 @@ #include "device-handler.h" struct network; +struct client; -typedef void (*boot_status_fn)(void *arg, struct boot_status *); +typedef void (*boot_status_fn)(void *arg, struct status *); void discover_server_notify_device_add(struct discover_server *server, struct device *device) @@ -32,12 +33,20 @@ void discover_server_notify_device_remove(struct discover_server *server, } void discover_server_notify_boot_status(struct discover_server *server, - struct boot_status *status) + struct status *status) { (void)server; (void)status; } +void system_info_set_interface_address(unsigned int hwaddr_size, + uint8_t *hwaddr, const char *address) +{ + (void)hwaddr_size; + (void)hwaddr; + (void)address; +} + void discover_server_notify_config(struct discover_server *server, struct config *config) { @@ -94,3 +103,16 @@ void boot_cancel(struct boot_task *task) { (void)task; } + +void pending_network_jobs_start(void) +{ +} + +void pending_network_jobs_cancel(void) +{ +} + +void discover_server_notify_plugins_remove(struct discover_server *server) +{ + (void)server; +}