X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=petitboot.h;h=893be04605e9614ed846c5828cbc28f767c2e053;hp=82251e41181698bae5fdb7cad80810622e5b2738;hb=a3aad20c4c55f14e5ac8061ca0ec30d1762c2fd0;hpb=51fa27b3bfe5f11067e2b301c42451c2838575a8 diff --git a/petitboot.h b/petitboot.h index 82251e4..893be04 100644 --- a/petitboot.h +++ b/petitboot.h @@ -1,5 +1,6 @@ #include +#include #define LOG(fmt...) printf(fmt) @@ -12,6 +13,6 @@ int pboot_add_option(int devindex, const char *title, 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); +void pboot_message(const char *fmt, ...);