2 #include <libtwin/twin.h>
5 #define LOG(fmt...) printf(fmt)
7 #define PBOOT_MAX_DEV 16
8 #define PBOOT_MAX_OPTION 16
10 int pboot_add_device(const char *dev_id, const char *name,
11 twin_pixmap_t *pixmap);
12 int pboot_add_option(int devindex, const char *title,
13 const char *subtitle, twin_pixmap_t *badge, void *data);
14 int pboot_remove_device(const char *dev_id);
16 int pboot_start_device_discovery(int udev_trigger);
17 void pboot_exec_option(void *data);
18 void pboot_message(const char *fmt, ...);