]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-protocol/pb-protocol.h
Add n_options to struct device
[petitboot] / lib / pb-protocol / pb-protocol.h
index 972f8f192cafab6aa5e1e3704217383de7f95345..b2d57d25b574fbe98de1c6d67a2751606602059e 100644 (file)
@@ -7,7 +7,7 @@
 
 #define PB_SOCKET_PATH "/tmp/petitboot.ui"
 
-#define PB_PROTOCOL_MAX_PAYLOAD_SIZE 4096
+#define PB_PROTOCOL_MAX_PAYLOAD_SIZE (64 * 1024)
 
 enum pb_protocol_action {
        PB_PROTOCOL_ACTION_ADD          = 0x1,
@@ -28,6 +28,7 @@ struct device {
 
        struct list boot_options;
 
+       int n_options;
        void *ui_info;
 };