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

FuStructJabraGnpPacket *fu_struct_jabra_gnp_packet_ref(FuStructJabraGnpPacket *st) G_GNUC_NON_NULL(1);
void fu_struct_jabra_gnp_packet_unref(FuStructJabraGnpPacket *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructJabraGnpPacket, fu_struct_jabra_gnp_packet_unref)
FuStructJabraGnpPacket *fu_struct_jabra_gnp_packet_new(void) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_jabra_gnp_packet_set_dst(FuStructJabraGnpPacket *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_jabra_gnp_packet_set_sequence_number(FuStructJabraGnpPacket *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_jabra_gnp_packet_set_cmd_length(FuStructJabraGnpPacket *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_jabra_gnp_packet_set_cmd(FuStructJabraGnpPacket *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_jabra_gnp_packet_set_sub_cmd(FuStructJabraGnpPacket *st, guint8 value) G_GNUC_NON_NULL(1);

#ifndef __GI_SCANNER__
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_IFACE 0x0
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_DST 0x1
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_SEQUENCE_NUMBER 0x3
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_CMD_LENGTH 0x4
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_CMD 0x5
#define FU_STRUCT_JABRA_GNP_PACKET_OFFSET_SUB_CMD 0x6
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_JABRA_GNP_PACKET_SIZE 0x7
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_JABRA_GNP_PACKET_DEFAULT_IFACE 0x05
#define FU_STRUCT_JABRA_GNP_PACKET_DEFAULT_CMD_LENGTH 0x46
#endif
