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

#pragma once
#include <fu-input-stream.h>
/**
 * FuIntelMeFamily:
 */
typedef enum {
    /**
     * FU_INTEL_ME_FAMILY_UNKNOWN:
     */
    FU_INTEL_ME_FAMILY_UNKNOWN,
    /**
     * FU_INTEL_ME_FAMILY_SPS:
     */
    FU_INTEL_ME_FAMILY_SPS,
    /**
     * FU_INTEL_ME_FAMILY_TXE:
     */
    FU_INTEL_ME_FAMILY_TXE,
    /**
     * FU_INTEL_ME_FAMILY_ME:
     */
    FU_INTEL_ME_FAMILY_ME,
    /**
     * FU_INTEL_ME_FAMILY_CSME11:
     */
    FU_INTEL_ME_FAMILY_CSME11,
    /**
     * FU_INTEL_ME_FAMILY_CSME16:
     */
    FU_INTEL_ME_FAMILY_CSME16,
    /**
     * FU_INTEL_ME_FAMILY_CSME18:
     */
    FU_INTEL_ME_FAMILY_CSME18,
}  FuIntelMeFamily;
#define FU_INTEL_ME_FAMILY_LAST 7
const gchar *fu_intel_me_family_to_string(FuIntelMeFamily val) G_GNUC_CONST;
/**
 * FuIntelMeIssue:
 */
typedef enum {
    /**
     * FU_INTEL_ME_ISSUE_UNKNOWN:
     */
    FU_INTEL_ME_ISSUE_UNKNOWN,
    /**
     * FU_INTEL_ME_ISSUE_NOT_VULNERABLE:
     */
    FU_INTEL_ME_ISSUE_NOT_VULNERABLE,
    /**
     * FU_INTEL_ME_ISSUE_VULNERABLE:
     */
    FU_INTEL_ME_ISSUE_VULNERABLE,
    /**
     * FU_INTEL_ME_ISSUE_PATCHED:
     */
    FU_INTEL_ME_ISSUE_PATCHED,
}  FuIntelMeIssue;
#define FU_INTEL_ME_ISSUE_LAST 4
const gchar *fu_intel_me_issue_to_string(FuIntelMeIssue val) G_GNUC_CONST;
/**
 * FuMeHfsCws:
 */
typedef enum {
    /**
     * FU_ME_HFS_CWS_RESET:
     */
    FU_ME_HFS_CWS_RESET,
    /**
     * FU_ME_HFS_CWS_INITIALIZING:
     */
    FU_ME_HFS_CWS_INITIALIZING,
    /**
     * FU_ME_HFS_CWS_RECOVERY:
     */
    FU_ME_HFS_CWS_RECOVERY,
    /**
     * FU_ME_HFS_CWS_TEST:
     */
    FU_ME_HFS_CWS_TEST,
    /**
     * FU_ME_HFS_CWS_DISABLED:
     */
    FU_ME_HFS_CWS_DISABLED,
    /**
     * FU_ME_HFS_CWS_NORMAL:
     */
    FU_ME_HFS_CWS_NORMAL,
    /**
     * FU_ME_HFS_CWS_WAIT:
     */
    FU_ME_HFS_CWS_WAIT,
    /**
     * FU_ME_HFS_CWS_TRANSITION:
     */
    FU_ME_HFS_CWS_TRANSITION,
    /**
     * FU_ME_HFS_CWS_INVALID_CPU:
     */
    FU_ME_HFS_CWS_INVALID_CPU,
    /**
     * FU_ME_HFS_CWS_HALT:
     */
    FU_ME_HFS_CWS_HALT = 0x0E,
}  FuMeHfsCws;
const gchar *fu_me_hfs_cws_to_string(FuMeHfsCws val) G_GNUC_CONST;
/**
 * FuMeHfsState:
 */
typedef enum {
    /**
     * FU_ME_HFS_STATE_PREBOOT:
     */
    FU_ME_HFS_STATE_PREBOOT,
    /**
     * FU_ME_HFS_STATE_M0_WITH_UMA:
     */
    FU_ME_HFS_STATE_M0_WITH_UMA,
    /**
     * FU_ME_HFS_STATE_M0_POWER_GATED:
     */
    FU_ME_HFS_STATE_M0_POWER_GATED,
    /**
     * FU_ME_HFS_STATE___RESERVED:
     */
    FU_ME_HFS_STATE___RESERVED,
    /**
     * FU_ME_HFS_STATE_M3_WITHOUT_UMA:
     */
    FU_ME_HFS_STATE_M3_WITHOUT_UMA,
    /**
     * FU_ME_HFS_STATE_M0_WITHOUT_UMA:
     */
    FU_ME_HFS_STATE_M0_WITHOUT_UMA,
    /**
     * FU_ME_HFS_STATE_BRING_UP:
     */
    FU_ME_HFS_STATE_BRING_UP,
    /**
     * FU_ME_HFS_STATE_ERROR:
     */
    FU_ME_HFS_STATE_ERROR,
}  FuMeHfsState;
#define FU_ME_HFS_STATE_LAST 8
/**
 * FuMeHfsMode:
 */
typedef enum {
    /**
     * FU_ME_HFS_MODE_NORMAL:
     */
    FU_ME_HFS_MODE_NORMAL,
    /**
     * FU_ME_HFS_MODE___RESERVED:
     */
    FU_ME_HFS_MODE___RESERVED,
    /**
     * FU_ME_HFS_MODE_DEBUG:
     */
    FU_ME_HFS_MODE_DEBUG,
    /**
     * FU_ME_HFS_MODE_DISABLE:
     */
    FU_ME_HFS_MODE_DISABLE,
    /**
     * FU_ME_HFS_MODE_OVERRIDE_JUMPER:
     */
    FU_ME_HFS_MODE_OVERRIDE_JUMPER,
    /**
     * FU_ME_HFS_MODE_OVERRIDE_MEI:
     */
    FU_ME_HFS_MODE_OVERRIDE_MEI,
    /**
     * FU_ME_HFS_MODE_UNKNOWN6:
     */
    FU_ME_HFS_MODE_UNKNOWN6,
    /**
     * FU_ME_HFS_MODE_ENHANCED_DEBUG:
     */
    FU_ME_HFS_MODE_ENHANCED_DEBUG,
}  FuMeHfsMode;
#define FU_ME_HFS_MODE_LAST 8
/**
 * FuMeHfsError:
 */
typedef enum {
    /**
     * FU_ME_HFS_ERROR_NO_ERROR:
     */
    FU_ME_HFS_ERROR_NO_ERROR,
    /**
     * FU_ME_HFS_ERROR_UNCATEGORIZED_FAILURE:
     */
    FU_ME_HFS_ERROR_UNCATEGORIZED_FAILURE,
    /**
     * FU_ME_HFS_ERROR_DISABLED:
     */
    FU_ME_HFS_ERROR_DISABLED,
    /**
     * FU_ME_HFS_ERROR_IMAGE_FAILURE:
     */
    FU_ME_HFS_ERROR_IMAGE_FAILURE,
    /**
     * FU_ME_HFS_ERROR_DEBUG_FAILURE:
     */
    FU_ME_HFS_ERROR_DEBUG_FAILURE,
}  FuMeHfsError;
#define FU_ME_HFS_ERROR_LAST 5
/**
 * FuMeHfsEnforcementPolicy:
 */
typedef enum {
    /**
     * FU_ME_HFS_ENFORCEMENT_POLICY_NOTHING:
     */
    FU_ME_HFS_ENFORCEMENT_POLICY_NOTHING,
    /**
     * FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_TO:
     */
    FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_TO,
    /**
     * FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_NOW:
     */
    FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_NOW,
    /**
     * FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_30MINS:
     */
    FU_ME_HFS_ENFORCEMENT_POLICY_SHUTDOWN_30MINS,
}  FuMeHfsEnforcementPolicy;
#define FU_ME_HFS_ENFORCEMENT_POLICY_LAST 4
/**
 * FuMeiFirmwareSku:
 */
typedef enum {
    /**
     * FU_MEI_FIRMWARE_SKU_CONSUMER:
     */
    FU_MEI_FIRMWARE_SKU_CONSUMER = 0x02,
    /**
     * FU_MEI_FIRMWARE_SKU_CORPORATE:
     */
    FU_MEI_FIRMWARE_SKU_CORPORATE = 0x03,
    /**
     * FU_MEI_FIRMWARE_SKU_LITE:
     */
    FU_MEI_FIRMWARE_SKU_LITE = 0x05,
}  FuMeiFirmwareSku;
/**
 * FuMeiCsme18ErrorStatusCode:
 */
typedef enum {
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_SUCCESS:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_SUCCESS,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_BOOT_GUARD_INITIALIZATION_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_BOOT_GUARD_INITIALIZATION_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_KM_VERIFICATION_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_KM_VERIFICATION_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_BPM_VERIFICATION_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_BPM_VERIFICATION_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_IBB_VERIFICATION_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_IBB_VERIFICATION_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_FIT_PROCESSING_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_FIT_PROCESSING_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_DMA_SETUP_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_DMA_SETUP_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_NEM_SETUP_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_NEM_SETUP_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_TPM_SETUP_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_TPM_SETUP_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_IBB_MEASUREMENT_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_IBB_MEASUREMENT_FAILED,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE___UNKNOWN:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE___UNKNOWN,
    /**
     * FU_MEI_CSME18_ERROR_STATUS_CODE_ME_CONNECTION_FAILED:
     */
    FU_MEI_CSME18_ERROR_STATUS_CODE_ME_CONNECTION_FAILED,
}  FuMeiCsme18ErrorStatusCode;
#define FU_MEI_CSME18_ERROR_STATUS_CODE_LAST 12
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIntelMeHfsts;

FuStructIntelMeHfsts *fu_struct_intel_me_hfsts_ref(FuStructIntelMeHfsts *st) G_GNUC_NON_NULL(1);
void fu_struct_intel_me_hfsts_unref(FuStructIntelMeHfsts *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIntelMeHfsts, fu_struct_intel_me_hfsts_unref)
FuStructIntelMeHfsts *fu_struct_intel_me_hfsts_new(void) G_GNUC_WARN_UNUSED_RESULT;
FuStructIntelMeHfsts *fu_struct_intel_me_hfsts_new_internal(void) G_GNUC_WARN_UNUSED_RESULT;
FuStructIntelMeHfsts *fu_struct_intel_me_hfsts_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gboolean fu_struct_intel_me_hfsts_validate_internal(FuStructIntelMeHfsts *st, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_struct_intel_me_hfsts_to_string(const FuStructIntelMeHfsts *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_intel_me_hfsts_get_value(const FuStructIntelMeHfsts *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_intel_me_hfsts_set_value(FuStructIntelMeHfsts *st, guint32 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_INTEL_ME_HFSTS_OFFSET_VALUE 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_INTEL_ME_HFSTS_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts1 *fu_mei_csme11_hfsts1_ref(FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts1_unref(FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts1, fu_mei_csme11_hfsts1_unref)
FuMeiCsme11Hfsts1 *fu_mei_csme11_hfsts1_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_mei_csme11_hfsts1_to_string(const FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuMeHfsCws fu_mei_csme11_hfsts1_get_working_state(const FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme11_hfsts1_get_mfg_mode(const FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuMeHfsMode fu_mei_csme11_hfsts1_get_operation_mode(const FuMeiCsme11Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS1_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts2 *fu_mei_csme11_hfsts2_ref(FuMeiCsme11Hfsts2 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts2_unref(FuMeiCsme11Hfsts2 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts2, fu_mei_csme11_hfsts2_unref)

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS2_OFFSET_STATUS_DATA 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS2_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts3 *fu_mei_csme11_hfsts3_ref(FuMeiCsme11Hfsts3 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts3_unref(FuMeiCsme11Hfsts3 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts3, fu_mei_csme11_hfsts3_unref)

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS3_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts4 *fu_mei_csme11_hfsts4_ref(FuMeiCsme11Hfsts4 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts4_unref(FuMeiCsme11Hfsts4 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts4, fu_mei_csme11_hfsts4_unref)

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS4_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts5 *fu_mei_csme11_hfsts5_ref(FuMeiCsme11Hfsts5 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts5_unref(FuMeiCsme11Hfsts5 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts5, fu_mei_csme11_hfsts5_unref)

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS5_SIZE 0x4
#endif

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

FuMeiCsme11Hfsts6 *fu_mei_csme11_hfsts6_ref(FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme11_hfsts6_unref(FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme11Hfsts6, fu_mei_csme11_hfsts6_unref)
FuMeiCsme11Hfsts6 *fu_mei_csme11_hfsts6_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme11_hfsts6_get_force_boot_guard_acm(const FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuMeHfsEnforcementPolicy fu_mei_csme11_hfsts6_get_error_enforce_policy(const FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme11_hfsts6_get_verified_boot(const FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme11_hfsts6_get_boot_guard_disable(const FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme11_hfsts6_get_fpf_soc_lock(const FuMeiCsme11Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME11_HFSTS6_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts1 *fu_mei_csme18_hfsts1_ref(FuMeiCsme18Hfsts1 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts1_unref(FuMeiCsme18Hfsts1 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts1, fu_mei_csme18_hfsts1_unref)
FuMeiCsme18Hfsts1 *fu_mei_csme18_hfsts1_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme18_hfsts1_get_spi_protection_mode(const FuMeiCsme18Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuMeHfsMode fu_mei_csme18_hfsts1_get_operation_mode(const FuMeiCsme18Hfsts1 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS1_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts2 *fu_mei_csme18_hfsts2_ref(FuMeiCsme18Hfsts2 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts2_unref(FuMeiCsme18Hfsts2 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts2, fu_mei_csme18_hfsts2_unref)

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS2_OFFSET_STATUS_DATA 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS2_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts3 *fu_mei_csme18_hfsts3_ref(FuMeiCsme18Hfsts3 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts3_unref(FuMeiCsme18Hfsts3 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts3, fu_mei_csme18_hfsts3_unref)

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS3_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts4 *fu_mei_csme18_hfsts4_ref(FuMeiCsme18Hfsts4 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts4_unref(FuMeiCsme18Hfsts4 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts4, fu_mei_csme18_hfsts4_unref)

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS4_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts5 *fu_mei_csme18_hfsts5_ref(FuMeiCsme18Hfsts5 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts5_unref(FuMeiCsme18Hfsts5 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts5, fu_mei_csme18_hfsts5_unref)
FuMeiCsme18Hfsts5 *fu_mei_csme18_hfsts5_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme18_hfsts5_get_btg_acm_active(const FuMeiCsme18Hfsts5 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme18_hfsts5_get_valid(const FuMeiCsme18Hfsts5 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme18_hfsts5_get_acm_done_sts(const FuMeiCsme18Hfsts5 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS5_SIZE 0x4
#endif

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

FuMeiCsme18Hfsts6 *fu_mei_csme18_hfsts6_ref(FuMeiCsme18Hfsts6 *st) G_GNUC_NON_NULL(1);
void fu_mei_csme18_hfsts6_unref(FuMeiCsme18Hfsts6 *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuMeiCsme18Hfsts6, fu_mei_csme18_hfsts6_unref)
FuMeiCsme18Hfsts6 *fu_mei_csme18_hfsts6_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_mei_csme18_hfsts6_get_fpf_soc_configuration_lock(const FuMeiCsme18Hfsts6 *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#endif

#ifndef __GI_SCANNER__
#define FU_MEI_CSME18_HFSTS6_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#endif
