X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=petitboot.h;h=a77bfef7c864e2035e18f55824ce785ef94c7dd5;hp=aeac73bd0a2efd5cda2f5ffe4036305cb26a53cc;hb=678dbd282f917c68c4fd6badfc14fcf464796f5d;hpb=f60d0b2e7dbd9d85980866c68d0f87b6bc823663 diff --git a/petitboot.h b/petitboot.h index aeac73b..a77bfef 100644 --- a/petitboot.h +++ b/petitboot.h @@ -9,7 +9,9 @@ int pboot_add_device(const char *dev_id, const char *name, twin_pixmap_t *pixmap); int pboot_add_option(int devindex, const char *title, - const char *subtitle, twin_pixmap_t *badge); + const char *subtitle, twin_pixmap_t *badge, void *data); int pboot_remove_device(const char *dev_id); -int pboot_start_device_discovery(void); +int pboot_start_device_discovery(int udev_trigger); +void pboot_exec_option(void *data); +void pboot_message(const char *message);