/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: core-aarch64.proto */

#ifndef PROTOBUF_C_core_2daarch64_2eproto__INCLUDED
#define PROTOBUF_C_core_2daarch64_2eproto__INCLUDED

#include <protobuf-c/protobuf-c.h>

PROTOBUF_C__BEGIN_DECLS

#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protobuf-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1005002 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protobuf-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protobuf-c.
#endif

#include "opts.pb-c.h"

typedef struct UserAarch64RegsEntry UserAarch64RegsEntry;
typedef struct UserAarch64FpsimdContextEntry UserAarch64FpsimdContextEntry;
typedef struct PacAddressKeys PacAddressKeys;
typedef struct PacGenericKeys PacGenericKeys;
typedef struct PacKeys PacKeys;
typedef struct ThreadInfoAarch64 ThreadInfoAarch64;


/* --- enums --- */


/* --- messages --- */

struct  UserAarch64RegsEntry
{
  ProtobufCMessage base;
  size_t n_regs;
  uint64_t *regs;
  uint64_t sp;
  uint64_t pc;
  uint64_t pstate;
};
#define USER_AARCH64_REGS_ENTRY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&user_aarch64_regs_entry__descriptor) \
, 0,NULL, 0, 0, 0 }


struct  UserAarch64FpsimdContextEntry
{
  ProtobufCMessage base;
  size_t n_vregs;
  uint64_t *vregs;
  uint32_t fpsr;
  uint32_t fpcr;
};
#define USER_AARCH64_FPSIMD_CONTEXT_ENTRY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&user_aarch64_fpsimd_context_entry__descriptor) \
, 0,NULL, 0, 0 }


struct  PacAddressKeys
{
  ProtobufCMessage base;
  uint64_t apiakey_lo;
  uint64_t apiakey_hi;
  uint64_t apibkey_lo;
  uint64_t apibkey_hi;
  uint64_t apdakey_lo;
  uint64_t apdakey_hi;
  uint64_t apdbkey_lo;
  uint64_t apdbkey_hi;
  uint64_t pac_enabled_key;
};
#define PAC_ADDRESS_KEYS__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&pac_address_keys__descriptor) \
, 0, 0, 0, 0, 0, 0, 0, 0, 0 }


struct  PacGenericKeys
{
  ProtobufCMessage base;
  uint64_t apgakey_lo;
  uint64_t apgakey_hi;
};
#define PAC_GENERIC_KEYS__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&pac_generic_keys__descriptor) \
, 0, 0 }


struct  PacKeys
{
  ProtobufCMessage base;
  PacAddressKeys *pac_address_keys;
  PacGenericKeys *pac_generic_keys;
};
#define PAC_KEYS__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&pac_keys__descriptor) \
, NULL, NULL }


struct  ThreadInfoAarch64
{
  ProtobufCMessage base;
  uint64_t clear_tid_addr;
  uint64_t tls;
  UserAarch64RegsEntry *gpregs;
  UserAarch64FpsimdContextEntry *fpsimd;
  PacKeys *pac_keys;
};
#define THREAD_INFO_AARCH64__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&thread_info_aarch64__descriptor) \
, 0, 0, NULL, NULL, NULL }


/* UserAarch64RegsEntry methods */
void   user_aarch64_regs_entry__init
                     (UserAarch64RegsEntry         *message);
size_t user_aarch64_regs_entry__get_packed_size
                     (const UserAarch64RegsEntry   *message);
size_t user_aarch64_regs_entry__pack
                     (const UserAarch64RegsEntry   *message,
                      uint8_t             *out);
size_t user_aarch64_regs_entry__pack_to_buffer
                     (const UserAarch64RegsEntry   *message,
                      ProtobufCBuffer     *buffer);
UserAarch64RegsEntry *
       user_aarch64_regs_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   user_aarch64_regs_entry__free_unpacked
                     (UserAarch64RegsEntry *message,
                      ProtobufCAllocator *allocator);
/* UserAarch64FpsimdContextEntry methods */
void   user_aarch64_fpsimd_context_entry__init
                     (UserAarch64FpsimdContextEntry         *message);
size_t user_aarch64_fpsimd_context_entry__get_packed_size
                     (const UserAarch64FpsimdContextEntry   *message);
size_t user_aarch64_fpsimd_context_entry__pack
                     (const UserAarch64FpsimdContextEntry   *message,
                      uint8_t             *out);
size_t user_aarch64_fpsimd_context_entry__pack_to_buffer
                     (const UserAarch64FpsimdContextEntry   *message,
                      ProtobufCBuffer     *buffer);
UserAarch64FpsimdContextEntry *
       user_aarch64_fpsimd_context_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   user_aarch64_fpsimd_context_entry__free_unpacked
                     (UserAarch64FpsimdContextEntry *message,
                      ProtobufCAllocator *allocator);
/* PacAddressKeys methods */
void   pac_address_keys__init
                     (PacAddressKeys         *message);
size_t pac_address_keys__get_packed_size
                     (const PacAddressKeys   *message);
size_t pac_address_keys__pack
                     (const PacAddressKeys   *message,
                      uint8_t             *out);
size_t pac_address_keys__pack_to_buffer
                     (const PacAddressKeys   *message,
                      ProtobufCBuffer     *buffer);
PacAddressKeys *
       pac_address_keys__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   pac_address_keys__free_unpacked
                     (PacAddressKeys *message,
                      ProtobufCAllocator *allocator);
/* PacGenericKeys methods */
void   pac_generic_keys__init
                     (PacGenericKeys         *message);
size_t pac_generic_keys__get_packed_size
                     (const PacGenericKeys   *message);
size_t pac_generic_keys__pack
                     (const PacGenericKeys   *message,
                      uint8_t             *out);
size_t pac_generic_keys__pack_to_buffer
                     (const PacGenericKeys   *message,
                      ProtobufCBuffer     *buffer);
PacGenericKeys *
       pac_generic_keys__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   pac_generic_keys__free_unpacked
                     (PacGenericKeys *message,
                      ProtobufCAllocator *allocator);
/* PacKeys methods */
void   pac_keys__init
                     (PacKeys         *message);
size_t pac_keys__get_packed_size
                     (const PacKeys   *message);
size_t pac_keys__pack
                     (const PacKeys   *message,
                      uint8_t             *out);
size_t pac_keys__pack_to_buffer
                     (const PacKeys   *message,
                      ProtobufCBuffer     *buffer);
PacKeys *
       pac_keys__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   pac_keys__free_unpacked
                     (PacKeys *message,
                      ProtobufCAllocator *allocator);
/* ThreadInfoAarch64 methods */
void   thread_info_aarch64__init
                     (ThreadInfoAarch64         *message);
size_t thread_info_aarch64__get_packed_size
                     (const ThreadInfoAarch64   *message);
size_t thread_info_aarch64__pack
                     (const ThreadInfoAarch64   *message,
                      uint8_t             *out);
size_t thread_info_aarch64__pack_to_buffer
                     (const ThreadInfoAarch64   *message,
                      ProtobufCBuffer     *buffer);
ThreadInfoAarch64 *
       thread_info_aarch64__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   thread_info_aarch64__free_unpacked
                     (ThreadInfoAarch64 *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*UserAarch64RegsEntry_Closure)
                 (const UserAarch64RegsEntry *message,
                  void *closure_data);
typedef void (*UserAarch64FpsimdContextEntry_Closure)
                 (const UserAarch64FpsimdContextEntry *message,
                  void *closure_data);
typedef void (*PacAddressKeys_Closure)
                 (const PacAddressKeys *message,
                  void *closure_data);
typedef void (*PacGenericKeys_Closure)
                 (const PacGenericKeys *message,
                  void *closure_data);
typedef void (*PacKeys_Closure)
                 (const PacKeys *message,
                  void *closure_data);
typedef void (*ThreadInfoAarch64_Closure)
                 (const ThreadInfoAarch64 *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor user_aarch64_regs_entry__descriptor;
extern const ProtobufCMessageDescriptor user_aarch64_fpsimd_context_entry__descriptor;
extern const ProtobufCMessageDescriptor pac_address_keys__descriptor;
extern const ProtobufCMessageDescriptor pac_generic_keys__descriptor;
extern const ProtobufCMessageDescriptor pac_keys__descriptor;
extern const ProtobufCMessageDescriptor thread_info_aarch64__descriptor;

PROTOBUF_C__END_DECLS


#endif  /* PROTOBUF_C_core_2daarch64_2eproto__INCLUDED */
