X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fdevice-handler.h;h=6ffa4e1255b5f1a4c0d5ab8e057cbbe23a76d37b;hb=e2c92865481a5fb043c03c0cde625a96ca608699;hp=6b1a75787d31029288ca17cdc52bf453faa98787;hpb=1a72ffef7837cd2aa3e6be945ec03fb6b5caa51a;p=petitboot diff --git a/discover/device-handler.h b/discover/device-handler.h index 6b1a757..6ffa4e1 100644 --- a/discover/device-handler.h +++ b/discover/device-handler.h @@ -48,6 +48,7 @@ struct discover_boot_option { struct resource *boot_image; struct resource *initrd; struct resource *dtb; + struct resource *args_sig_file; struct resource *icon; }; @@ -92,8 +93,6 @@ int device_handler_discover(struct device_handler *handler, struct discover_device *dev); int device_handler_dhcp(struct device_handler *handler, struct discover_device *dev, struct event *event); -int device_handler_conf(struct device_handler *handler, - struct discover_device *dev, struct pb_url *url); void device_handler_remove(struct device_handler *handler, struct discover_device *device); @@ -142,5 +141,6 @@ void device_handler_reinit(struct device_handler *handler); int device_request_write(struct discover_device *dev, bool *release); void device_release_write(struct discover_device *dev, bool release); +void device_sync_snapshots(struct device_handler *handler, const char *device); #endif /* _DEVICE_HANDLER_H */