+int pb_protocol_serialise_device(const struct device *dev,
+ char *buf, int buf_len);
+int pb_protocol_serialise_boot_option(const struct boot_option *opt,
+ char *buf, int buf_len);
+int pb_protocol_serialise_boot_command(const struct boot_command *boot,
+ char *buf, int buf_len);
+int pb_protocol_serialise_boot_status(const struct status *status,
+ char *buf, int buf_len);
+int pb_protocol_serialise_system_info(const struct system_info *sysinfo,
+ char *buf, int buf_len);
+int pb_protocol_serialise_config(const struct config *config,
+ char *buf, int buf_len);
+int pb_protocol_serialise_url(const char *url, char *buf, int buf_len);
+int pb_protocol_serialise_plugin_option(const struct plugin_option *opt,
+ char *buf, int buf_len);
+int pb_protocol_serialise_temp_autoboot(const struct autoboot_option *opt,
+ char *buf, int buf_len);