X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2Fhandler.c;h=bfb61083c14eace6c3bfb99c289419131bdd2ae1;hb=46fbb1e1e33b130284ec211f9c647268ff709ba7;hp=d9057eb56c60fd5bff19e937e80a4bf43abd0ab6;hpb=b8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf;p=petitboot diff --git a/test/parser/handler.c b/test/parser/handler.c index d9057eb..bfb6108 100644 --- a/test/parser/handler.c +++ b/test/parser/handler.c @@ -6,6 +6,8 @@ #include "device-handler.h" +struct network; + typedef void (*boot_status_fn)(void *arg, struct boot_status *); void discover_server_notify_device_add(struct discover_server *server, @@ -36,6 +38,35 @@ void discover_server_notify_boot_status(struct discover_server *server, (void)status; } +void discover_server_notify_config(struct discover_server *server, + struct config *config) +{ + (void)server; + (void)config; +} + +void system_info_register_blockdev(const char *name, const char *uuid, + const char *mountpoint) +{ + (void)name; + (void)uuid; + (void)mountpoint; +} + +void network_register_device(struct network *network, + struct discover_device *dev) +{ + (void)network; + (void)dev; +} + +void network_unregister_device(struct network *network, + struct discover_device *dev) +{ + (void)network; + (void)dev; +} + void parser_init(void) { }