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