X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Fpb-protocol%2Fpb-protocol.h;h=bfa92222606443e6632034c193125d2ad1f45068;hb=49a33ebc7ffc389069849b739d0d75b5749c9356;hp=888e9b991fdacbbed2594e6de348f6b32e5d4605;hpb=ce8a340bffd224290ad5219baa5f0466fcd9fd55;p=petitboot diff --git a/lib/pb-protocol/pb-protocol.h b/lib/pb-protocol/pb-protocol.h index 888e9b9..bfa9222 100644 --- a/lib/pb-protocol/pb-protocol.h +++ b/lib/pb-protocol/pb-protocol.h @@ -2,6 +2,7 @@ #define _PB_PROTOCOL_H #include +#include #include @@ -28,6 +29,7 @@ struct device { struct list boot_options; + int n_options; void *ui_info; }; @@ -45,6 +47,8 @@ struct boot_option { void *ui_info; }; +void pb_protocol_dump_device(const struct device *dev, const char *text, + FILE *stream); int pb_protocol_device_len(const struct device *dev); int pb_protocol_device_cmp(const struct device *a, const struct device *b);