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

#pragma once
#include <fu-input-stream.h>
/**
 * FuWacomUsbReportId:
 */
typedef enum {
    /**
     * FU_WACOM_USB_REPORT_ID_FW_DESCRIPTOR:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_FW_DESCRIPTOR = 0xCB,
    /**
     * FU_WACOM_USB_REPORT_ID_SWITCH_TO_FLASH_LOADER:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_SWITCH_TO_FLASH_LOADER = 0xCC,
    /**
     * FU_WACOM_USB_REPORT_ID_QUIT_AND_RESET:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_QUIT_AND_RESET = 0xCD,
    /**
     * FU_WACOM_USB_REPORT_ID_READ_BLOCK_DATA:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_READ_BLOCK_DATA = 0xD1,
    /**
     * FU_WACOM_USB_REPORT_ID_WRITE_BLOCK:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_WRITE_BLOCK = 0xD2,
    /**
     * FU_WACOM_USB_REPORT_ID_ERASE_BLOCK:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_ERASE_BLOCK = 0xD3,
    /**
     * FU_WACOM_USB_REPORT_ID_SET_READ_ADDRESS:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_SET_READ_ADDRESS = 0xD4,
    /**
     * FU_WACOM_USB_REPORT_ID_GET_STATUS:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_GET_STATUS = 0xD5,
    /**
     * FU_WACOM_USB_REPORT_ID_UPDATE_RESET:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_UPDATE_RESET = 0xD6,
    /**
     * FU_WACOM_USB_REPORT_ID_WRITE_WORD:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_WRITE_WORD = 0xD7,
    /**
     * FU_WACOM_USB_REPORT_ID_GET_PARAMETERS:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_GET_PARAMETERS = 0xD8,
    /**
     * FU_WACOM_USB_REPORT_ID_GET_FLASH_DESCRIPTOR:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_GET_FLASH_DESCRIPTOR = 0xD9,
    /**
     * FU_WACOM_USB_REPORT_ID_GET_CHECKSUMS:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_GET_CHECKSUMS = 0xDA,
    /**
     * FU_WACOM_USB_REPORT_ID_SET_CHECKSUM_FOR_BLOCK:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_SET_CHECKSUM_FOR_BLOCK = 0xDB,
    /**
     * FU_WACOM_USB_REPORT_ID_CALCULATE_CHECKSUM_FOR_BLOCK:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_CALCULATE_CHECKSUM_FOR_BLOCK = 0xDC,
    /**
     * FU_WACOM_USB_REPORT_ID_WRITE_CHECKSUM_TABLE:
     *
     * SET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_WRITE_CHECKSUM_TABLE = 0xDE,
    /**
     * FU_WACOM_USB_REPORT_ID_GET_CURRENT_FIRMWARE_IDX:
     *
     * GET_FEATURE
     */
    FU_WACOM_USB_REPORT_ID_GET_CURRENT_FIRMWARE_IDX = 0xE2,
    /**
     * FU_WACOM_USB_REPORT_ID_MODULE:
     */
    FU_WACOM_USB_REPORT_ID_MODULE = 0xE4,
}  FuWacomUsbReportId;
const gchar *fu_wacom_usb_report_id_to_string(FuWacomUsbReportId val) G_GNUC_CONST;
/**
 * FuWacomUsbModuleFwType:
 */
typedef enum {
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_TOUCH:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_TOUCH = 0x00,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH = 0x01,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_EMR_CORRECTION:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_EMR_CORRECTION = 0x02,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_HID:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_HID = 0x03,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_SCALER:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_SCALER = 0x04,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_ID6:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_ID6 = 0x06,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_TOUCH_ID7:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_TOUCH_ID7 = 0x07,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_ID9:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_BLUETOOTH_ID9 = 0x09,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_SUB_CPU:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_SUB_CPU = 0x0A,
    /**
     * FU_WACOM_USB_MODULE_FW_TYPE_MAIN:
     */
    FU_WACOM_USB_MODULE_FW_TYPE_MAIN = 0x3F,
}  FuWacomUsbModuleFwType;
const gchar *fu_wacom_usb_module_fw_type_to_string(FuWacomUsbModuleFwType val) G_GNUC_CONST;
/**
 * FuWacomUsbModuleCommand:
 */
typedef enum {
    /**
     * FU_WACOM_USB_MODULE_COMMAND_START:
     */
    FU_WACOM_USB_MODULE_COMMAND_START = 0x01,
    /**
     * FU_WACOM_USB_MODULE_COMMAND_DATA:
     */
    FU_WACOM_USB_MODULE_COMMAND_DATA = 0x02,
    /**
     * FU_WACOM_USB_MODULE_COMMAND_END:
     */
    FU_WACOM_USB_MODULE_COMMAND_END = 0x03,
}  FuWacomUsbModuleCommand;
const gchar *fu_wacom_usb_module_command_to_string(FuWacomUsbModuleCommand val) G_GNUC_CONST;
/**
 * FuWacomUsbModuleStatus:
 */
typedef enum {
    /**
     * FU_WACOM_USB_MODULE_STATUS_OK:
     */
    FU_WACOM_USB_MODULE_STATUS_OK,
    /**
     * FU_WACOM_USB_MODULE_STATUS_BUSY:
     */
    FU_WACOM_USB_MODULE_STATUS_BUSY,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_CRC:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_CRC,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_CMD:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_CMD,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_HW_ACCESS_FAIL:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_HW_ACCESS_FAIL,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_FLASH_NO_SUPPORT:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_FLASH_NO_SUPPORT,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_MODE_WRONG:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_MODE_WRONG,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_MPU_NO_SUPPORT:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_MPU_NO_SUPPORT,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_VERSION_NO_SUPPORT:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_VERSION_NO_SUPPORT,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_ERASE:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_ERASE,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_WRITE:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_WRITE,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_EXIT:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_EXIT,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_INVALID_OP:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_INVALID_OP,
    /**
     * FU_WACOM_USB_MODULE_STATUS_ERR_WRONG_IMAGE:
     */
    FU_WACOM_USB_MODULE_STATUS_ERR_WRONG_IMAGE,
}  FuWacomUsbModuleStatus;
#define FU_WACOM_USB_MODULE_STATUS_LAST 15
const gchar *fu_wacom_usb_module_status_to_string(FuWacomUsbModuleStatus val) G_GNUC_CONST;
/**
 * FuWacomUsbDeviceStatus:
 */
typedef enum {
    /**
     * FU_WACOM_USB_DEVICE_STATUS_UNKNOWN:
     */
    FU_WACOM_USB_DEVICE_STATUS_UNKNOWN = 0,
    /**
     * FU_WACOM_USB_DEVICE_STATUS_WRITING:
     */
    FU_WACOM_USB_DEVICE_STATUS_WRITING = 1 << 0,
    /**
     * FU_WACOM_USB_DEVICE_STATUS_ERASING:
     */
    FU_WACOM_USB_DEVICE_STATUS_ERASING = 1 << 1,
    /**
     * FU_WACOM_USB_DEVICE_STATUS_ERROR_WRITE:
     */
    FU_WACOM_USB_DEVICE_STATUS_ERROR_WRITE = 1 << 2,
    /**
     * FU_WACOM_USB_DEVICE_STATUS_ERROR_ERASE:
     */
    FU_WACOM_USB_DEVICE_STATUS_ERROR_ERASE = 1 << 3,
    /**
     * FU_WACOM_USB_DEVICE_STATUS_WRITE_PROTECTED:
     */
    FU_WACOM_USB_DEVICE_STATUS_WRITE_PROTECTED = 1 << 4,
} G_GNUC_FLAG_ENUM FuWacomUsbDeviceStatus;
gchar *fu_wacom_usb_device_status_to_string(FuWacomUsbDeviceStatus val) G_GNUC_CONST;
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructWacomUsbFirmwareHdr;

FuStructWacomUsbFirmwareHdr *fu_struct_wacom_usb_firmware_hdr_ref(FuStructWacomUsbFirmwareHdr *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_firmware_hdr_unref(FuStructWacomUsbFirmwareHdr *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbFirmwareHdr, fu_struct_wacom_usb_firmware_hdr_unref)
gboolean fu_struct_wacom_usb_firmware_hdr_validate_stream(GInputStream *stream, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_FIRMWARE_HDR_OFFSET_MAGIC 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_FIRMWARE_HDR_SIZE_MAGIC 0x5
#define FU_STRUCT_WACOM_USB_FIRMWARE_HDR_N_ELEMENTS_MAGIC 5
#define FU_STRUCT_WACOM_USB_FIRMWARE_HDR_SIZE 0x5
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_FIRMWARE_HDR_DEFAULT_MAGIC "WACOM"
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructWtaBlockHeader;

FuStructWtaBlockHeader *fu_struct_wta_block_header_ref(FuStructWtaBlockHeader *st) G_GNUC_NON_NULL(1);
void fu_struct_wta_block_header_unref(FuStructWtaBlockHeader *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWtaBlockHeader, fu_struct_wta_block_header_unref)
FuStructWtaBlockHeader *fu_struct_wta_block_header_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_wta_block_header_get_block_start(const FuStructWtaBlockHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_wta_block_header_get_block_size(const FuStructWtaBlockHeader *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WTA_BLOCK_HEADER_OFFSET_BLOCK_START 0x0
#define FU_STRUCT_WTA_BLOCK_HEADER_OFFSET_BLOCK_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WTA_BLOCK_HEADER_SIZE 0x8
#endif

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

FuStructWacomUsbId9UnknownCmd *fu_struct_wacom_usb_id9_unknown_cmd_ref(FuStructWacomUsbId9UnknownCmd *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_id9_unknown_cmd_unref(FuStructWacomUsbId9UnknownCmd *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbId9UnknownCmd, fu_struct_wacom_usb_id9_unknown_cmd_unref)
FuStructWacomUsbId9UnknownCmd *fu_struct_wacom_usb_id9_unknown_cmd_new(void) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_wacom_usb_id9_unknown_cmd_set_size(FuStructWacomUsbId9UnknownCmd *st, guint16 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_OFFSET_UNKNOWN1 0x0
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_OFFSET_UNKNOWN2 0x2
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_OFFSET_SIZE 0x6
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_SIZE 0x8
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_DEFAULT_UNKNOWN1 0x7050
#define FU_STRUCT_WACOM_USB_ID9_UNKNOWN_CMD_DEFAULT_UNKNOWN2 0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructWacomUsbId9SpiCmd;

FuStructWacomUsbId9SpiCmd *fu_struct_wacom_usb_id9_spi_cmd_ref(FuStructWacomUsbId9SpiCmd *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_id9_spi_cmd_unref(FuStructWacomUsbId9SpiCmd *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbId9SpiCmd, fu_struct_wacom_usb_id9_spi_cmd_unref)
FuStructWacomUsbId9SpiCmd *fu_struct_wacom_usb_id9_spi_cmd_new(void) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_wacom_usb_id9_spi_cmd_set_size(FuStructWacomUsbId9SpiCmd *st, guint16 value) G_GNUC_NON_NULL(1);
gboolean
fu_struct_wacom_usb_id9_spi_cmd_set_data(FuStructWacomUsbId9SpiCmd *st, const FuStructWacomUsbId9UnknownCmd *st_donor, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_OFFSET_COMMAND 0x0
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_OFFSET_START_ADDR 0x1
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_OFFSET_SIZE 0x5
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_OFFSET_DATA 0x7
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_SIZE 0xF
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_DEFAULT_COMMAND 0x91
#define FU_STRUCT_WACOM_USB_ID9_SPI_CMD_DEFAULT_START_ADDR 0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructWacomUsbId9LoaderCmd;

FuStructWacomUsbId9LoaderCmd *fu_struct_wacom_usb_id9_loader_cmd_ref(FuStructWacomUsbId9LoaderCmd *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_id9_loader_cmd_unref(FuStructWacomUsbId9LoaderCmd *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbId9LoaderCmd, fu_struct_wacom_usb_id9_loader_cmd_unref)
FuStructWacomUsbId9LoaderCmd *fu_struct_wacom_usb_id9_loader_cmd_new(void) G_GNUC_WARN_UNUSED_RESULT;
gboolean fu_struct_wacom_usb_id9_loader_cmd_validate(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
GBytes *fu_struct_wacom_usb_id9_loader_cmd_to_bytes(const FuStructWacomUsbId9LoaderCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_wacom_usb_id9_loader_cmd_set_command(FuStructWacomUsbId9LoaderCmd *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_id9_loader_cmd_set_size(FuStructWacomUsbId9LoaderCmd *st, guint16 value) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_id9_loader_cmd_set_crc(FuStructWacomUsbId9LoaderCmd *st, guint32 value) G_GNUC_NON_NULL(1);
gboolean
fu_struct_wacom_usb_id9_loader_cmd_set_data(FuStructWacomUsbId9LoaderCmd *st, const FuStructWacomUsbId9SpiCmd *st_donor, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_LOADER_CMD_OFFSET_COMMAND 0x0
#define FU_STRUCT_WACOM_USB_ID9_LOADER_CMD_OFFSET_SIZE 0x1
#define FU_STRUCT_WACOM_USB_ID9_LOADER_CMD_OFFSET_CRC 0x3
#define FU_STRUCT_WACOM_USB_ID9_LOADER_CMD_OFFSET_DATA 0x7
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_ID9_LOADER_CMD_SIZE 0x16
#endif

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

FuStructWacomUsbModuleDesc *fu_struct_wacom_usb_module_desc_ref(FuStructWacomUsbModuleDesc *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_module_desc_unref(FuStructWacomUsbModuleDesc *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbModuleDesc, fu_struct_wacom_usb_module_desc_unref)
FuStructWacomUsbModuleDesc *fu_struct_wacom_usb_module_desc_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_wacom_usb_module_desc_get_bootloader_version(const FuStructWacomUsbModuleDesc *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_wacom_usb_module_desc_get_number_modules(const FuStructWacomUsbModuleDesc *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_MODULE_DESC_OFFSET_BOOTLOADER_VERSION 0x1
#define FU_STRUCT_WACOM_USB_MODULE_DESC_OFFSET_NUMBER_MODULES 0x3
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_MODULE_DESC_SIZE 0x4
#endif

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

FuStructWacomUsbModuleItem *fu_struct_wacom_usb_module_item_ref(FuStructWacomUsbModuleItem *st) G_GNUC_NON_NULL(1);
void fu_struct_wacom_usb_module_item_unref(FuStructWacomUsbModuleItem *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructWacomUsbModuleItem, fu_struct_wacom_usb_module_item_unref)
FuStructWacomUsbModuleItem *fu_struct_wacom_usb_module_item_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuWacomUsbModuleFwType fu_struct_wacom_usb_module_item_get_kind(const FuStructWacomUsbModuleItem *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_wacom_usb_module_item_get_version(const FuStructWacomUsbModuleItem *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_wacom_usb_module_item_get_version2(const FuStructWacomUsbModuleItem *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_MODULE_ITEM_OFFSET_KIND 0x0
#define FU_STRUCT_WACOM_USB_MODULE_ITEM_OFFSET_VERSION 0x1
#define FU_STRUCT_WACOM_USB_MODULE_ITEM_OFFSET_VERSION2 0x3
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_WACOM_USB_MODULE_ITEM_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#endif
