/*
 * 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;
} FuStructDellSmbiosDa;

FuStructDellSmbiosDa *fu_struct_dell_smbios_da_ref(FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1);
void fu_struct_dell_smbios_da_unref(FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructDellSmbiosDa, fu_struct_dell_smbios_da_unref)
FuStructDellSmbiosDa *fu_struct_dell_smbios_da_parse_bytes(GBytes *blob, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_dell_smbios_da_get_type(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_dell_smbios_da_get_length(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_dell_smbios_da_get_handle(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_dell_smbios_da_get_cmd_address(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_dell_smbios_da_get_cmd_code(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_dell_smbios_da_get_supported_cmds(const FuStructDellSmbiosDa *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_TYPE 0x0
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_LENGTH 0x1
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_HANDLE 0x2
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_CMD_ADDRESS 0x4
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_CMD_CODE 0x6
#define FU_STRUCT_DELL_SMBIOS_DA_OFFSET_SUPPORTED_CMDS 0x7
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_DELL_SMBIOS_DA_SIZE 0xB
#endif

#ifndef __GI_SCANNER__
#endif
