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

#pragma once
#include <fu-input-stream.h>
#include "fu-efi-struct.h"
/**
 * FuUefiUpdateInfoStatus:
 */
typedef enum {
    /**
     * FU_UEFI_UPDATE_INFO_STATUS_UNKNOWN:
     */
    FU_UEFI_UPDATE_INFO_STATUS_UNKNOWN,
    /**
     * FU_UEFI_UPDATE_INFO_STATUS_ATTEMPT_UPDATE:
     */
    FU_UEFI_UPDATE_INFO_STATUS_ATTEMPT_UPDATE,
    /**
     * FU_UEFI_UPDATE_INFO_STATUS_ATTEMPTED:
     */
    FU_UEFI_UPDATE_INFO_STATUS_ATTEMPTED,
}  FuUefiUpdateInfoStatus;
#define FU_UEFI_UPDATE_INFO_STATUS_LAST 3
const gchar *fu_uefi_update_info_status_to_string(FuUefiUpdateInfoStatus val) G_GNUC_CONST;
FuUefiUpdateInfoStatus fu_uefi_update_info_status_from_string(const gchar *val) G_GNUC_CONST G_GNUC_NON_NULL(1);
/**
 * FuUefiCapsuleDeviceKind:
 */
typedef enum {
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_UNKNOWN:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_UNKNOWN,
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_SYSTEM_FIRMWARE:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_SYSTEM_FIRMWARE,
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_DEVICE_FIRMWARE:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_DEVICE_FIRMWARE,
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_UEFI_DRIVER:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_UEFI_DRIVER,
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_FMP:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_FMP,
    /**
     * FU_UEFI_CAPSULE_DEVICE_KIND_DELL_TPM_FIRMWARE:
     */
    FU_UEFI_CAPSULE_DEVICE_KIND_DELL_TPM_FIRMWARE,
}  FuUefiCapsuleDeviceKind;
#define FU_UEFI_CAPSULE_DEVICE_KIND_LAST 6
const gchar *fu_uefi_capsule_device_kind_to_string(FuUefiCapsuleDeviceKind val) G_GNUC_CONST;
FuUefiCapsuleDeviceKind fu_uefi_capsule_device_kind_from_string(const gchar *val) G_GNUC_CONST G_GNUC_NON_NULL(1);
/**
 * FuUefiCapsuleDeviceStatus:
 */
typedef enum {
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_SUCCESS:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_SUCCESS,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_UNSUCCESSFUL:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_UNSUCCESSFUL,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INSUFFICIENT_RESOURCES:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INSUFFICIENT_RESOURCES,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INCORRECT_VERSION:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INCORRECT_VERSION,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INVALID_FORMAT:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_INVALID_FORMAT,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_AUTH_ERROR:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_AUTH_ERROR,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_PWR_EVT_AC:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_PWR_EVT_AC,
    /**
     * FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_PWR_EVT_BATT:
     */
    FU_UEFI_CAPSULE_DEVICE_STATUS_ERROR_PWR_EVT_BATT,
}  FuUefiCapsuleDeviceStatus;
#define FU_UEFI_CAPSULE_DEVICE_STATUS_LAST 8
const gchar *fu_uefi_capsule_device_status_to_string(FuUefiCapsuleDeviceStatus val) G_GNUC_CONST;
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructEfiUxCapsuleHeader;

FuStructEfiUxCapsuleHeader *fu_struct_efi_ux_capsule_header_ref(FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_efi_ux_capsule_header_unref(FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructEfiUxCapsuleHeader, fu_struct_efi_ux_capsule_header_unref)
FuStructEfiUxCapsuleHeader *fu_struct_efi_ux_capsule_header_new(void) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_efi_ux_capsule_header_get_checksum(const FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_efi_ux_capsule_header_get_image_type(const FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_ux_capsule_header_get_mode(const FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_ux_capsule_header_get_x_offset(const FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_ux_capsule_header_get_y_offset(const FuStructEfiUxCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_ux_capsule_header_set_checksum(FuStructEfiUxCapsuleHeader *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_ux_capsule_header_set_image_type(FuStructEfiUxCapsuleHeader *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_ux_capsule_header_set_mode(FuStructEfiUxCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_ux_capsule_header_set_x_offset(FuStructEfiUxCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_ux_capsule_header_set_y_offset(FuStructEfiUxCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_VERSION 0x0
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_CHECKSUM 0x1
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_IMAGE_TYPE 0x2
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_MODE 0x4
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_X_OFFSET 0x8
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_OFFSET_Y_OFFSET 0xC
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_SIZE 0x10
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UX_CAPSULE_HEADER_DEFAULT_VERSION 0x01
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructEfiCapsuleHeader;

FuStructEfiCapsuleHeader *fu_struct_efi_capsule_header_ref(FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_efi_capsule_header_unref(FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructEfiCapsuleHeader, fu_struct_efi_capsule_header_unref)
FuStructEfiCapsuleHeader *fu_struct_efi_capsule_header_new(void) G_GNUC_WARN_UNUSED_RESULT;
GBytes *fu_struct_efi_capsule_header_to_bytes(const FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const fwupd_guid_t *fu_struct_efi_capsule_header_get_guid(const FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_capsule_header_get_header_size(const FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_capsule_header_get_flags(const FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_capsule_header_get_image_size(const FuStructEfiCapsuleHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_capsule_header_set_guid(FuStructEfiCapsuleHeader *st, const fwupd_guid_t *value) G_GNUC_NON_NULL(1, 2);
void fu_struct_efi_capsule_header_set_header_size(FuStructEfiCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_capsule_header_set_flags(FuStructEfiCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_capsule_header_set_image_size(FuStructEfiCapsuleHeader *st, guint32 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_CAPSULE_HEADER_OFFSET_GUID 0x0
#define FU_STRUCT_EFI_CAPSULE_HEADER_OFFSET_HEADER_SIZE 0x10
#define FU_STRUCT_EFI_CAPSULE_HEADER_OFFSET_FLAGS 0x14
#define FU_STRUCT_EFI_CAPSULE_HEADER_OFFSET_IMAGE_SIZE 0x18
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_CAPSULE_HEADER_SIZE 0x1C
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_CAPSULE_HEADER_DEFAULT_HEADER_SIZE 28
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructEfiUpdateInfo;

FuStructEfiUpdateInfo *fu_struct_efi_update_info_ref(FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1);
void fu_struct_efi_update_info_unref(FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructEfiUpdateInfo, fu_struct_efi_update_info_unref)
FuStructEfiUpdateInfo *fu_struct_efi_update_info_new(void) G_GNUC_WARN_UNUSED_RESULT;
FuStructEfiUpdateInfo *fu_struct_efi_update_info_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuStructEfiUpdateInfo *fu_struct_efi_update_info_parse_stream(GInputStream *stream, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_update_info_get_version(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const fwupd_guid_t *fu_struct_efi_update_info_get_guid(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_update_info_get_flags(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint64 fu_struct_efi_update_info_get_hw_inst(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuStructEfiTime *fu_struct_efi_update_info_get_time_attempted(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuUefiUpdateInfoStatus fu_struct_efi_update_info_get_status(const FuStructEfiUpdateInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_update_info_set_version(FuStructEfiUpdateInfo *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_update_info_set_guid(FuStructEfiUpdateInfo *st, const fwupd_guid_t *value) G_GNUC_NON_NULL(1, 2);
void fu_struct_efi_update_info_set_flags(FuStructEfiUpdateInfo *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_update_info_set_hw_inst(FuStructEfiUpdateInfo *st, guint64 value) G_GNUC_NON_NULL(1);
gboolean
fu_struct_efi_update_info_set_time_attempted(FuStructEfiUpdateInfo *st, const FuStructEfiTime *st_donor, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_update_info_set_status(FuStructEfiUpdateInfo *st, FuUefiUpdateInfoStatus value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_VERSION 0x0
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_GUID 0x4
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_FLAGS 0x14
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_HW_INST 0x18
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_TIME_ATTEMPTED 0x20
#define FU_STRUCT_EFI_UPDATE_INFO_OFFSET_STATUS 0x30
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UPDATE_INFO_SIZE 0x34
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_UPDATE_INFO_DEFAULT_VERSION 0x7
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructEfiCapsuleResultVariableHeader;

FuStructEfiCapsuleResultVariableHeader *fu_struct_efi_capsule_result_variable_header_ref(FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_efi_capsule_result_variable_header_unref(FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructEfiCapsuleResultVariableHeader, fu_struct_efi_capsule_result_variable_header_unref)
FuStructEfiCapsuleResultVariableHeader *fu_struct_efi_capsule_result_variable_header_new(void) G_GNUC_WARN_UNUSED_RESULT;
FuStructEfiCapsuleResultVariableHeader *fu_struct_efi_capsule_result_variable_header_parse_bytes(GBytes *blob, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
GBytes *fu_struct_efi_capsule_result_variable_header_to_bytes(const FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_efi_capsule_result_variable_header_get_total_size(const FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const fwupd_guid_t *fu_struct_efi_capsule_result_variable_header_get_guid(const FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuStructEfiTime *fu_struct_efi_capsule_result_variable_header_get_processed(const FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuEfiStatus fu_struct_efi_capsule_result_variable_header_get_status(const FuStructEfiCapsuleResultVariableHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_capsule_result_variable_header_set_total_size(FuStructEfiCapsuleResultVariableHeader *st, guint32 value) G_GNUC_NON_NULL(1);
void fu_struct_efi_capsule_result_variable_header_set_guid(FuStructEfiCapsuleResultVariableHeader *st, const fwupd_guid_t *value) G_GNUC_NON_NULL(1, 2);
gboolean
fu_struct_efi_capsule_result_variable_header_set_processed(FuStructEfiCapsuleResultVariableHeader *st, const FuStructEfiTime *st_donor, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_efi_capsule_result_variable_header_set_status(FuStructEfiCapsuleResultVariableHeader *st, FuEfiStatus value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_CAPSULE_RESULT_VARIABLE_HEADER_OFFSET_TOTAL_SIZE 0x0
#define FU_STRUCT_EFI_CAPSULE_RESULT_VARIABLE_HEADER_OFFSET_GUID 0x8
#define FU_STRUCT_EFI_CAPSULE_RESULT_VARIABLE_HEADER_OFFSET_PROCESSED 0x18
#define FU_STRUCT_EFI_CAPSULE_RESULT_VARIABLE_HEADER_OFFSET_STATUS 0x28
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_EFI_CAPSULE_RESULT_VARIABLE_HEADER_SIZE 0x30
#endif

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

FuStructAcpiInsydeQuirk *fu_struct_acpi_insyde_quirk_ref(FuStructAcpiInsydeQuirk *st) G_GNUC_NON_NULL(1);
void fu_struct_acpi_insyde_quirk_unref(FuStructAcpiInsydeQuirk *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructAcpiInsydeQuirk, fu_struct_acpi_insyde_quirk_unref)
FuStructAcpiInsydeQuirk *fu_struct_acpi_insyde_quirk_parse_stream(GInputStream *stream, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_struct_acpi_insyde_quirk_get_signature(const FuStructAcpiInsydeQuirk *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_acpi_insyde_quirk_get_size(const FuStructAcpiInsydeQuirk *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_acpi_insyde_quirk_get_flags(const FuStructAcpiInsydeQuirk *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ACPI_INSYDE_QUIRK_OFFSET_SIGNATURE 0x0
#define FU_STRUCT_ACPI_INSYDE_QUIRK_OFFSET_SIZE 0x6
#define FU_STRUCT_ACPI_INSYDE_QUIRK_OFFSET_FLAGS 0xA
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ACPI_INSYDE_QUIRK_SIZE_SIGNATURE 0x6
#define FU_STRUCT_ACPI_INSYDE_QUIRK_N_ELEMENTS_SIGNATURE 6
#define FU_STRUCT_ACPI_INSYDE_QUIRK_SIZE 0xE
#endif

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

FuStructBitmapFileHeader *fu_struct_bitmap_file_header_ref(FuStructBitmapFileHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_bitmap_file_header_unref(FuStructBitmapFileHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructBitmapFileHeader, fu_struct_bitmap_file_header_unref)
FuStructBitmapFileHeader *fu_struct_bitmap_file_header_parse_stream(GInputStream *stream, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_bitmap_file_header_get_size(const FuStructBitmapFileHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_BITMAP_FILE_HEADER_OFFSET_SIGNATURE 0x0
#define FU_STRUCT_BITMAP_FILE_HEADER_OFFSET_SIZE 0x2
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_BITMAP_FILE_HEADER_SIZE_SIGNATURE 0x2
#define FU_STRUCT_BITMAP_FILE_HEADER_N_ELEMENTS_SIGNATURE 2
#define FU_STRUCT_BITMAP_FILE_HEADER_SIZE 0xE
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_BITMAP_FILE_HEADER_DEFAULT_SIGNATURE "BM"
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructBitmapInfoHeader;

FuStructBitmapInfoHeader *fu_struct_bitmap_info_header_ref(FuStructBitmapInfoHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_bitmap_info_header_unref(FuStructBitmapInfoHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructBitmapInfoHeader, fu_struct_bitmap_info_header_unref)
FuStructBitmapInfoHeader *fu_struct_bitmap_info_header_parse_stream(GInputStream *stream, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_bitmap_info_header_get_width(const FuStructBitmapInfoHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_bitmap_info_header_get_height(const FuStructBitmapInfoHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_BITMAP_INFO_HEADER_OFFSET_WIDTH 0x4
#define FU_STRUCT_BITMAP_INFO_HEADER_OFFSET_HEIGHT 0x8
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_BITMAP_INFO_HEADER_SIZE 0xC
#endif

#ifndef __GI_SCANNER__
#endif
