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

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "ipc-var.pb-c.h"
void   ipc_var_entry__init
                     (IpcVarEntry         *message)
{
  static const IpcVarEntry init_value = IPC_VAR_ENTRY__INIT;
  *message = init_value;
}
size_t ipc_var_entry__get_packed_size
                     (const IpcVarEntry *message)
{
  assert(message->base.descriptor == &ipc_var_entry__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t ipc_var_entry__pack
                     (const IpcVarEntry *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &ipc_var_entry__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t ipc_var_entry__pack_to_buffer
                     (const IpcVarEntry *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &ipc_var_entry__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
IpcVarEntry *
       ipc_var_entry__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (IpcVarEntry *)
     protobuf_c_message_unpack (&ipc_var_entry__descriptor,
                                allocator, len, data);
}
void   ipc_var_entry__free_unpacked
                     (IpcVarEntry *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &ipc_var_entry__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor ipc_var_entry__field_descriptors[17] =
{
  {
    "sem_ctls",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, n_sem_ctls),
    offsetof(IpcVarEntry, sem_ctls),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "msg_ctlmax",
    2,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, msg_ctlmax),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "msg_ctlmnb",
    3,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, msg_ctlmnb),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "msg_ctlmni",
    4,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, msg_ctlmni),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "auto_msgmni",
    5,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, auto_msgmni),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shm_ctlmax",
    6,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, shm_ctlmax),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shm_ctlall",
    7,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT64,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, shm_ctlall),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shm_ctlmni",
    8,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, shm_ctlmni),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shm_rmid_forced",
    9,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, shm_rmid_forced),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mq_queues_max",
    10,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, mq_queues_max),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mq_msg_max",
    11,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, mq_msg_max),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mq_msgsize_max",
    12,
    PROTOBUF_C_LABEL_REQUIRED,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(IpcVarEntry, mq_msgsize_max),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mq_msg_default",
    13,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, has_mq_msg_default),
    offsetof(IpcVarEntry, mq_msg_default),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "mq_msgsize_default",
    14,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, has_mq_msgsize_default),
    offsetof(IpcVarEntry, mq_msgsize_default),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "msg_next_id",
    15,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, has_msg_next_id),
    offsetof(IpcVarEntry, msg_next_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "sem_next_id",
    16,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, has_sem_next_id),
    offsetof(IpcVarEntry, sem_next_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "shm_next_id",
    17,
    PROTOBUF_C_LABEL_OPTIONAL,
    PROTOBUF_C_TYPE_UINT32,
    offsetof(IpcVarEntry, has_shm_next_id),
    offsetof(IpcVarEntry, shm_next_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned ipc_var_entry__field_indices_by_name[] = {
  4,   /* field[4] = auto_msgmni */
  12,   /* field[12] = mq_msg_default */
  10,   /* field[10] = mq_msg_max */
  13,   /* field[13] = mq_msgsize_default */
  11,   /* field[11] = mq_msgsize_max */
  9,   /* field[9] = mq_queues_max */
  1,   /* field[1] = msg_ctlmax */
  2,   /* field[2] = msg_ctlmnb */
  3,   /* field[3] = msg_ctlmni */
  14,   /* field[14] = msg_next_id */
  0,   /* field[0] = sem_ctls */
  15,   /* field[15] = sem_next_id */
  6,   /* field[6] = shm_ctlall */
  5,   /* field[5] = shm_ctlmax */
  7,   /* field[7] = shm_ctlmni */
  16,   /* field[16] = shm_next_id */
  8,   /* field[8] = shm_rmid_forced */
};
static const ProtobufCIntRange ipc_var_entry__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 17 }
};
const ProtobufCMessageDescriptor ipc_var_entry__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "ipc_var_entry",
  "IpcVarEntry",
  "IpcVarEntry",
  "",
  sizeof(IpcVarEntry),
  17,
  ipc_var_entry__field_descriptors,
  ipc_var_entry__field_indices_by_name,
  1,  ipc_var_entry__number_ranges,
  (ProtobufCMessageInit) ipc_var_entry__init,
  NULL,NULL,NULL    /* reserved[123] */
};
