]> git.ozlabs.org Git - petitboot/blobdiff - petitboot.h
Print ststus message when booting
[petitboot] / petitboot.h
index 147fe7f2d004bfa98a44c57bc35da4d48ecf2ea8..893be04605e9614ed846c5828cbc28f767c2e053 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <libtwin/twin.h>
+#include <stdarg.h>
 
 #define LOG(fmt...)    printf(fmt)
 
@@ -12,5 +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 *fmt, ...);