Allow petitboot to run udevtrigger on start
[petitboot] / petitboot.h
index aeac73bd0a2efd5cda2f5ffe4036305cb26a53cc..e9102df9504ee42f5fdab2f0d8fb7b0d9eb78482 100644 (file)
@@ -9,7 +9,8 @@
 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);