X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdiscover-server.h;h=541afaf776b4bbf718953ec9787b3b17ebcea845;hp=6650bba638095c9d91306eb3ef9d89520b03d1fe;hb=9af0c65fa5ba9ae8527a70dbf0e808d777dfb479;hpb=37428306a270088bfcb1f94362a0fe5b7a5a888e diff --git a/discover/discover-server.h b/discover/discover-server.h index 6650bba..541afaf 100644 --- a/discover/discover-server.h +++ b/discover/discover-server.h @@ -5,6 +5,8 @@ struct discover_server; struct device_handler; +struct boot_option; +struct boot_status; struct device; struct discover_server *discover_server_init(struct waitset *waitset); @@ -14,8 +16,12 @@ void discover_server_destroy(struct discover_server *server); void discover_server_set_device_source(struct discover_server *server, struct device_handler *handler); -void discover_server_notify_add(struct discover_server *server, +void discover_server_notify_device_add(struct discover_server *server, struct device *device); -void discover_server_notify_remove(struct discover_server *server, +void discover_server_notify_boot_option_add(struct discover_server *server, + struct boot_option *option); +void discover_server_notify_device_remove(struct discover_server *server, struct device *device); +void discover_server_notify_boot_status(struct discover_server *server, + struct boot_status *status); #endif /* _DISCOVER_SERVER_H */