/*
 * This file is auto-generated, do not modify!
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once
#include <fu-input-stream.h>
/**
 * FuMkhiGroupId:
 */
typedef enum {
    /**
     * FU_MKHI_GROUP_ID_CBM:
     */
    FU_MKHI_GROUP_ID_CBM,
    /**
     * FU_MKHI_GROUP_ID_PM:
     *
     * no longer used
     */
    FU_MKHI_GROUP_ID_PM,
    /**
     * FU_MKHI_GROUP_ID_PWD:
     */
    FU_MKHI_GROUP_ID_PWD,
    /**
     * FU_MKHI_GROUP_ID_FWCAPS:
     */
    FU_MKHI_GROUP_ID_FWCAPS,
    /**
     * FU_MKHI_GROUP_ID_APP:
     *
     * no longer used
     */
    FU_MKHI_GROUP_ID_APP,
    /**
     * FU_MKHI_GROUP_ID_FWUPDATE:
     *
     * for manufacturing downgrade
     */
    FU_MKHI_GROUP_ID_FWUPDATE,
    /**
     * FU_MKHI_GROUP_ID_FIRMWARE_UPDATE:
     */
    FU_MKHI_GROUP_ID_FIRMWARE_UPDATE,
    /**
     * FU_MKHI_GROUP_ID_BIST:
     */
    FU_MKHI_GROUP_ID_BIST,
    /**
     * FU_MKHI_GROUP_ID_MDES:
     */
    FU_MKHI_GROUP_ID_MDES,
    /**
     * FU_MKHI_GROUP_ID_ME_DBG:
     */
    FU_MKHI_GROUP_ID_ME_DBG,
    /**
     * FU_MKHI_GROUP_ID_MCA:
     *
     * sometimes called "FPF"
     */
    FU_MKHI_GROUP_ID_MCA,
    /**
     * FU_MKHI_GROUP_ID_GEN:
     */
    FU_MKHI_GROUP_ID_GEN = 0xFF,
}  FuMkhiGroupId;
/**
 * FuMkhiStatus:
 */
typedef enum {
    /**
     * FU_MKHI_STATUS_SUCCESS:
     */
    FU_MKHI_STATUS_SUCCESS,
    /**
     * FU_MKHI_STATUS_INVALID_STATE:
     */
    FU_MKHI_STATUS_INVALID_STATE,
    /**
     * FU_MKHI_STATUS_MESSAGE_SKIPPED:
     */
    FU_MKHI_STATUS_MESSAGE_SKIPPED,
    /**
     * FU_MKHI_STATUS_SIZE_ERROR:
     */
    FU_MKHI_STATUS_SIZE_ERROR = 0x05,
    /**
     * FU_MKHI_STATUS_UNKNOWN_PERHAPS_NOT_SUPPORTED:
     *
     * guessed
     */
    FU_MKHI_STATUS_UNKNOWN_PERHAPS_NOT_SUPPORTED = 0x0b,
    /**
     * FU_MKHI_STATUS_NOT_SET:
     *
     * guessed
     */
    FU_MKHI_STATUS_NOT_SET = 0x0F,
    /**
     * FU_MKHI_STATUS_NOT_AVAILABLE:
     *
     * guessed
     */
    FU_MKHI_STATUS_NOT_AVAILABLE = 0x18,
    /**
     * FU_MKHI_STATUS_INVALID_ACCESS:
     */
    FU_MKHI_STATUS_INVALID_ACCESS = 0x84,
    /**
     * FU_MKHI_STATUS_INVALID_PARAMS:
     */
    FU_MKHI_STATUS_INVALID_PARAMS = 0x85,
    /**
     * FU_MKHI_STATUS_NOT_READY:
     */
    FU_MKHI_STATUS_NOT_READY = 0x88,
    /**
     * FU_MKHI_STATUS_NOT_SUPPORTED:
     */
    FU_MKHI_STATUS_NOT_SUPPORTED = 0x89,
    /**
     * FU_MKHI_STATUS_INVALID_ADDRESS:
     */
    FU_MKHI_STATUS_INVALID_ADDRESS = 0x8C,
    /**
     * FU_MKHI_STATUS_INVALID_COMMAND:
     */
    FU_MKHI_STATUS_INVALID_COMMAND = 0x8D,
    /**
     * FU_MKHI_STATUS_FAILURE:
     */
    FU_MKHI_STATUS_FAILURE = 0x9E,
    /**
     * FU_MKHI_STATUS_INVALID_RESOURCE:
     */
    FU_MKHI_STATUS_INVALID_RESOURCE = 0xE4,
    /**
     * FU_MKHI_STATUS_RESOURCE_IN_USE:
     */
    FU_MKHI_STATUS_RESOURCE_IN_USE = 0xE5,
    /**
     * FU_MKHI_STATUS_NO_RESOURCE:
     */
    FU_MKHI_STATUS_NO_RESOURCE = 0xE6,
    /**
     * FU_MKHI_STATUS_GENERAL_ERROR:
     */
    FU_MKHI_STATUS_GENERAL_ERROR = 0xFF,
    /**
     * FU_MKHI_STATUS_LOWER_ARB_SVN:
     *
     * GPU fw update
     */
    FU_MKHI_STATUS_LOWER_ARB_SVN = 0x233,
    /**
     * FU_MKHI_STATUS_LOWER_TCB_SVN:
     */
    FU_MKHI_STATUS_LOWER_TCB_SVN = 0x23B,
    /**
     * FU_MKHI_STATUS_LOWER_VCN:
     */
    FU_MKHI_STATUS_LOWER_VCN = 0x23C,
    /**
     * FU_MKHI_STATUS_UPDATE_IUP_SVN:
     */
    FU_MKHI_STATUS_UPDATE_IUP_SVN = 0x29A,
    /**
     * FU_MKHI_STATUS_UPDATE_IUP_VCN:
     */
    FU_MKHI_STATUS_UPDATE_IUP_VCN = 0x29B,
    /**
     * FU_MKHI_STATUS_UPDATE_IMAGE_LEN:
     */
    FU_MKHI_STATUS_UPDATE_IMAGE_LEN = 0x29C,
    /**
     * FU_MKHI_STATUS_UPDATE_PV_BIT:
     */
    FU_MKHI_STATUS_UPDATE_PV_BIT = 0x29D,
    /**
     * FU_MKHI_STATUS_UPDATE_ENGINEERING_MISMATCH:
     */
    FU_MKHI_STATUS_UPDATE_ENGINEERING_MISMATCH = 0x2B2,
    /**
     * FU_MKHI_STATUS_UPDATE_VER_MAN_FAILED_OROM:
     */
    FU_MKHI_STATUS_UPDATE_VER_MAN_FAILED_OROM = 0x102C,
    /**
     * FU_MKHI_STATUS_UPDATE_DEVICE_ID_NOT_MATCH:
     */
    FU_MKHI_STATUS_UPDATE_DEVICE_ID_NOT_MATCH = 0x102F,
    /**
     * FU_MKHI_STATUS_UPDATE_OPROM_SECTION_NOT_EXIST:
     */
    FU_MKHI_STATUS_UPDATE_OPROM_SECTION_NOT_EXIST = 0x1032,
    /**
     * FU_MKHI_STATUS_UPDATE_OPROM_INVALID_STRUCTURE:
     */
    FU_MKHI_STATUS_UPDATE_OPROM_INVALID_STRUCTURE = 0x1035,
    /**
     * FU_MKHI_STATUS_UPDATE_GET_OPROM_VERSION_FAILED:
     */
    FU_MKHI_STATUS_UPDATE_GET_OPROM_VERSION_FAILED = 0x103C,
    /**
     * FU_MKHI_STATUS_UPDATE_OROM_INVALID_STRUCTURE:
     */
    FU_MKHI_STATUS_UPDATE_OROM_INVALID_STRUCTURE = 0x1045,
    /**
     * FU_MKHI_STATUS_UPDATE_VER_MAN_FAILED_GFX_DATA:
     */
    FU_MKHI_STATUS_UPDATE_VER_MAN_FAILED_GFX_DATA = 0x1048,
    /**
     * FU_MKHI_STATUS_UPDATE_GFX_DATA_OEM_MANUF_VER:
     */
    FU_MKHI_STATUS_UPDATE_GFX_DATA_OEM_MANUF_VER = 0x104B,
}  FuMkhiStatus;
const gchar *fu_mkhi_status_to_string(FuMkhiStatus val) G_GNUC_CONST;
/**
 * FuMkhiCommand:
 */
typedef enum {
    /**
     * FU_MKHI_COMMAND_READ_FILE:
     */
    FU_MKHI_COMMAND_READ_FILE = 0x02,
    /**
     * FU_MKHI_COMMAND_READ_FILE_EX:
     */
    FU_MKHI_COMMAND_READ_FILE_EX = 0x0A,
    /**
     * FU_MKHI_COMMAND_ARBH_SVN_COMMIT:
     */
    FU_MKHI_COMMAND_ARBH_SVN_COMMIT = 0x1B,
    /**
     * FU_MKHI_COMMAND_ARBH_SVN_GET_INFO:
     */
    FU_MKHI_COMMAND_ARBH_SVN_GET_INFO = 0x1C,
    /**
     * FU_MKHI_COMMAND_READ_FILE_RESPONSE:
     *
     * not real commands, but makes debugging easier
     */
    FU_MKHI_COMMAND_READ_FILE_RESPONSE = 0x82,
    /**
     * FU_MKHI_COMMAND_READ_FILE_EX_RESPONSE:
     */
    FU_MKHI_COMMAND_READ_FILE_EX_RESPONSE = 0x8A,
    /**
     * FU_MKHI_COMMAND_ARBH_SVN_COMMIT_RESPONSE:
     */
    FU_MKHI_COMMAND_ARBH_SVN_COMMIT_RESPONSE = 0x9B,
    /**
     * FU_MKHI_COMMAND_ARBH_SVN_GET_INFO_RESPONSE:
     */
    FU_MKHI_COMMAND_ARBH_SVN_GET_INFO_RESPONSE = 0x9C,
}  FuMkhiCommand;
/**
 * FuMkhiArbhSvnInfoEntryUsageId:
 */
typedef enum {
    /**
     * FU_MKHI_ARBH_SVN_INFO_ENTRY_USAGE_ID_CSE_RBE:
     */
    FU_MKHI_ARBH_SVN_INFO_ENTRY_USAGE_ID_CSE_RBE = 3,
}  FuMkhiArbhSvnInfoEntryUsageId;
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiReadFileRequest;

FuMkhiReadFileRequest *fu_mkhi_read_file_request_ref(FuMkhiReadFileRequest *st) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_request_unref(FuMkhiReadFileRequest *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiReadFileRequest, fu_mkhi_read_file_request_unref)
FuMkhiReadFileRequest *fu_mkhi_read_file_request_new(void) G_GNUC_WARN_UNUSED_RESULT;
gboolean fu_mkhi_read_file_request_set_filename(FuMkhiReadFileRequest *st, const gchar *value, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_mkhi_read_file_request_set_data_size(FuMkhiReadFileRequest *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_request_set_flags(FuMkhiReadFileRequest *st, guint8 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_GROUP_ID 0x0
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_COMMAND 0x1
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_RESULT 0x3
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_FILENAME 0x4
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_OFFSET 0x44
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_DATA_SIZE 0x48
#define FU_MKHI_READ_FILE_REQUEST_OFFSET_FLAGS 0x4C
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_REQUEST_SIZE_FILENAME 0x40
#define FU_MKHI_READ_FILE_REQUEST_N_ELEMENTS_FILENAME 64
#define FU_MKHI_READ_FILE_REQUEST_SIZE 0x4D
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_REQUEST_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_READ_FILE_REQUEST_DEFAULT_COMMAND FU_MKHI_COMMAND_READ_FILE
#define FU_MKHI_READ_FILE_REQUEST_DEFAULT_RESULT 0x0
#define FU_MKHI_READ_FILE_REQUEST_DEFAULT_OFFSET 0x0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiReadFileResponse;

FuMkhiReadFileResponse *fu_mkhi_read_file_response_ref(FuMkhiReadFileResponse *st) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_response_unref(FuMkhiReadFileResponse *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiReadFileResponse, fu_mkhi_read_file_response_unref)
FuMkhiReadFileResponse *fu_mkhi_read_file_response_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_mkhi_read_file_response_get_result(const FuMkhiReadFileResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mkhi_read_file_response_get_data_size(const FuMkhiReadFileResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_RESPONSE_OFFSET_GROUP_ID 0x0
#define FU_MKHI_READ_FILE_RESPONSE_OFFSET_COMMAND 0x1
#define FU_MKHI_READ_FILE_RESPONSE_OFFSET_RESULT 0x3
#define FU_MKHI_READ_FILE_RESPONSE_OFFSET_DATA_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_RESPONSE_SIZE 0x8
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_RESPONSE_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_READ_FILE_RESPONSE_DEFAULT_COMMAND FU_MKHI_COMMAND_READ_FILE_RESPONSE
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiReadFileExRequest;

FuMkhiReadFileExRequest *fu_mkhi_read_file_ex_request_ref(FuMkhiReadFileExRequest *st) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_ex_request_unref(FuMkhiReadFileExRequest *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiReadFileExRequest, fu_mkhi_read_file_ex_request_unref)
FuMkhiReadFileExRequest *fu_mkhi_read_file_ex_request_new(void) G_GNUC_WARN_UNUSED_RESULT;
void fu_mkhi_read_file_ex_request_set_file_id(FuMkhiReadFileExRequest *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_ex_request_set_data_size(FuMkhiReadFileExRequest *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_ex_request_set_flags(FuMkhiReadFileExRequest *st, guint8 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_GROUP_ID 0x0
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_COMMAND 0x1
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_RESULT 0x3
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_FILE_ID 0x4
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_OFFSET 0x8
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_DATA_SIZE 0xC
#define FU_MKHI_READ_FILE_EX_REQUEST_OFFSET_FLAGS 0x10
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_REQUEST_SIZE 0x11
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_REQUEST_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_READ_FILE_EX_REQUEST_DEFAULT_COMMAND FU_MKHI_COMMAND_READ_FILE_EX
#define FU_MKHI_READ_FILE_EX_REQUEST_DEFAULT_RESULT 0x0
#define FU_MKHI_READ_FILE_EX_REQUEST_DEFAULT_OFFSET 0x0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiReadFileExResponse;

FuMkhiReadFileExResponse *fu_mkhi_read_file_ex_response_ref(FuMkhiReadFileExResponse *st) G_GNUC_NON_NULL(1);
void fu_mkhi_read_file_ex_response_unref(FuMkhiReadFileExResponse *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiReadFileExResponse, fu_mkhi_read_file_ex_response_unref)
FuMkhiReadFileExResponse *fu_mkhi_read_file_ex_response_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_mkhi_read_file_ex_response_get_result(const FuMkhiReadFileExResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mkhi_read_file_ex_response_get_data_size(const FuMkhiReadFileExResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_RESPONSE_OFFSET_GROUP_ID 0x0
#define FU_MKHI_READ_FILE_EX_RESPONSE_OFFSET_COMMAND 0x1
#define FU_MKHI_READ_FILE_EX_RESPONSE_OFFSET_RESULT 0x3
#define FU_MKHI_READ_FILE_EX_RESPONSE_OFFSET_DATA_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_RESPONSE_SIZE 0x8
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_READ_FILE_EX_RESPONSE_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_READ_FILE_EX_RESPONSE_DEFAULT_COMMAND FU_MKHI_COMMAND_READ_FILE_EX_RESPONSE
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiArbhSvnInfoEntry;

FuMkhiArbhSvnInfoEntry *fu_mkhi_arbh_svn_info_entry_ref(FuMkhiArbhSvnInfoEntry *st) G_GNUC_NON_NULL(1);
void fu_mkhi_arbh_svn_info_entry_unref(FuMkhiArbhSvnInfoEntry *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiArbhSvnInfoEntry, fu_mkhi_arbh_svn_info_entry_unref)
FuMkhiArbhSvnInfoEntry *fu_mkhi_arbh_svn_info_entry_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuMkhiArbhSvnInfoEntryUsageId fu_mkhi_arbh_svn_info_entry_get_usage_id(const FuMkhiArbhSvnInfoEntry *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_mkhi_arbh_svn_info_entry_get_executing(const FuMkhiArbhSvnInfoEntry *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_mkhi_arbh_svn_info_entry_get_min_allowed(const FuMkhiArbhSvnInfoEntry *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_INFO_ENTRY_OFFSET_USAGE_ID 0x0
#define FU_MKHI_ARBH_SVN_INFO_ENTRY_OFFSET_EXECUTING 0x2
#define FU_MKHI_ARBH_SVN_INFO_ENTRY_OFFSET_MIN_ALLOWED 0x3
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_INFO_ENTRY_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiArbhSvnGetInfoRequest;

FuMkhiArbhSvnGetInfoRequest *fu_mkhi_arbh_svn_get_info_request_ref(FuMkhiArbhSvnGetInfoRequest *st) G_GNUC_NON_NULL(1);
void fu_mkhi_arbh_svn_get_info_request_unref(FuMkhiArbhSvnGetInfoRequest *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiArbhSvnGetInfoRequest, fu_mkhi_arbh_svn_get_info_request_unref)
FuMkhiArbhSvnGetInfoRequest *fu_mkhi_arbh_svn_get_info_request_new(void) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_OFFSET_GROUP_ID 0x0
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_OFFSET_COMMAND 0x1
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_OFFSET_RESULT 0x3
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_DEFAULT_COMMAND FU_MKHI_COMMAND_ARBH_SVN_GET_INFO
#define FU_MKHI_ARBH_SVN_GET_INFO_REQUEST_DEFAULT_RESULT 0x0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuMkhiArbhSvnGetInfoResponse;

FuMkhiArbhSvnGetInfoResponse *fu_mkhi_arbh_svn_get_info_response_ref(FuMkhiArbhSvnGetInfoResponse *st) G_GNUC_NON_NULL(1);
void fu_mkhi_arbh_svn_get_info_response_unref(FuMkhiArbhSvnGetInfoResponse *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMkhiArbhSvnGetInfoResponse, fu_mkhi_arbh_svn_get_info_response_unref)
FuMkhiArbhSvnGetInfoResponse *fu_mkhi_arbh_svn_get_info_response_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_mkhi_arbh_svn_get_info_response_get_result(const FuMkhiArbhSvnGetInfoResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mkhi_arbh_svn_get_info_response_get_num_entries(const FuMkhiArbhSvnGetInfoResponse *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_OFFSET_GROUP_ID 0x0
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_OFFSET_COMMAND 0x1
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_OFFSET_RESULT 0x3
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_OFFSET_NUM_ENTRIES 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_SIZE 0x8
#endif

#ifndef __GI_SCANNER__
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_DEFAULT_GROUP_ID FU_MKHI_GROUP_ID_MCA
#define FU_MKHI_ARBH_SVN_GET_INFO_RESPONSE_DEFAULT_COMMAND FU_MKHI_COMMAND_ARBH_SVN_GET_INFO_RESPONSE
#endif
