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

#ifndef PROTOBUF_C_seccomp_2eproto__INCLUDED
#define PROTOBUF_C_seccomp_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


typedef struct SeccompFilter SeccompFilter;
typedef struct SeccompEntry SeccompEntry;


/* --- enums --- */


/* --- messages --- */

struct  SeccompFilter
{
  ProtobufCMessage base;
  ProtobufCBinaryData filter;
  protobuf_c_boolean has_prev;
  uint32_t prev;
  protobuf_c_boolean has_flags;
  uint32_t flags;
};
#define SECCOMP_FILTER__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&seccomp_filter__descriptor) \
, {0,NULL}, 0, 0, 0, 0 }


struct  SeccompEntry
{
  ProtobufCMessage base;
  size_t n_seccomp_filters;
  SeccompFilter **seccomp_filters;
};
#define SECCOMP_ENTRY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&seccomp_entry__descriptor) \
, 0,NULL }


/* SeccompFilter methods */
void   seccomp_filter__init
                     (SeccompFilter         *message);
size_t seccomp_filter__get_packed_size
                     (const SeccompFilter   *message);
size_t seccomp_filter__pack
                     (const SeccompFilter   *message,
                      uint8_t             *out);
size_t seccomp_filter__pack_to_buffer
                     (const SeccompFilter   *message,
                      ProtobufCBuffer     *buffer);
SeccompFilter *
       seccomp_filter__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   seccomp_filter__free_unpacked
                     (SeccompFilter *message,
                      ProtobufCAllocator *allocator);
/* SeccompEntry methods */
void   seccomp_entry__init
                     (SeccompEntry         *message);
size_t seccomp_entry__get_packed_size
                     (const SeccompEntry   *message);
size_t seccomp_entry__pack
                     (const SeccompEntry   *message,
                      uint8_t             *out);
size_t seccomp_entry__pack_to_buffer
                     (const SeccompEntry   *message,
                      ProtobufCBuffer     *buffer);
SeccompEntry *
       seccomp_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   seccomp_entry__free_unpacked
                     (SeccompEntry *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*SeccompFilter_Closure)
                 (const SeccompFilter *message,
                  void *closure_data);
typedef void (*SeccompEntry_Closure)
                 (const SeccompEntry *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor seccomp_filter__descriptor;
extern const ProtobufCMessageDescriptor seccomp_entry__descriptor;

PROTOBUF_C__END_DECLS


#endif  /* PROTOBUF_C_seccomp_2eproto__INCLUDED */
