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

#pragma once
#include <fu-input-stream.h>
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructElanfpFirmwareHdr;

FuStructElanfpFirmwareHdr *fu_struct_elanfp_firmware_hdr_ref(FuStructElanfpFirmwareHdr *st) G_GNUC_NON_NULL(1);
void fu_struct_elanfp_firmware_hdr_unref(FuStructElanfpFirmwareHdr *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructElanfpFirmwareHdr, fu_struct_elanfp_firmware_hdr_unref)
gboolean fu_struct_elanfp_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_ELANFP_FIRMWARE_HDR_OFFSET_MAGIC 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ELANFP_FIRMWARE_HDR_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ELANFP_FIRMWARE_HDR_DEFAULT_MAGIC 0x46325354
#endif
