summaryrefslogtreecommitdiffstats
path: root/petitboot.h
blob: a77bfef7c864e2035e18f55824ce785ef94c7dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#include <libtwin/twin.h>

#define LOG(fmt...)	printf(fmt)

#define PBOOT_MAX_DEV		16
#define PBOOT_MAX_OPTION	16

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, void *data);
int pboot_remove_device(const char *dev_id);

int pboot_start_device_discovery(int udev_trigger);
void pboot_exec_option(void *data);
void pboot_message(const char *message);
OpenPOWER on IntegriCloud