/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C_NO_DEPRECATED
+#define PROTOBUF_C_NO_DEPRECATED
+#endif
+
#include "Mumble.pb-c.h"
void mumble_proto__version__init
(MumbleProto__Version *message)
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__reject__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__server_config__init
+ (MumbleProto__ServerConfig *message)
+{
+ static MumbleProto__ServerConfig init_value = MUMBLE_PROTO__SERVER_CONFIG__INIT;
+ *message = init_value;
+}
+size_t mumble_proto__server_config__get_packed_size
+ (const MumbleProto__ServerConfig *message)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__server_config__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t mumble_proto__server_config__pack
+ (const MumbleProto__ServerConfig *message,
+ uint8_t *out)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__server_config__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t mumble_proto__server_config__pack_to_buffer
+ (const MumbleProto__ServerConfig *message,
+ ProtobufCBuffer *buffer)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__server_config__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+MumbleProto__ServerConfig *
+ mumble_proto__server_config__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (MumbleProto__ServerConfig *)
+ protobuf_c_message_unpack (&mumble_proto__server_config__descriptor,
+ allocator, len, data);
+}
+void mumble_proto__server_config__free_unpacked
+ (MumbleProto__ServerConfig *message,
+ ProtobufCAllocator *allocator)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__server_config__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
void mumble_proto__server_sync__init
(MumbleProto__ServerSync *message)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_state__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__ban_list__ban_entry__init
+ (MumbleProto__BanList__BanEntry *message)
+{
+ static MumbleProto__BanList__BanEntry init_value = MUMBLE_PROTO__BAN_LIST__BAN_ENTRY__INIT;
+ *message = init_value;
+}
void mumble_proto__ban_list__init
(MumbleProto__BanList *message)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__permission_denied__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__acl__chan_group__init
+ (MumbleProto__ACL__ChanGroup *message)
+{
+ static MumbleProto__ACL__ChanGroup init_value = MUMBLE_PROTO__ACL__CHAN_GROUP__INIT;
+ *message = init_value;
+}
+void mumble_proto__acl__chan_acl__init
+ (MumbleProto__ACL__ChanACL *message)
+{
+ static MumbleProto__ACL__ChanACL init_value = MUMBLE_PROTO__ACL__CHAN_ACL__INIT;
+ *message = init_value;
+}
void mumble_proto__acl__init
(MumbleProto__ACL *message)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__context_action__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__user_list__user__init
+ (MumbleProto__UserList__User *message)
+{
+ static MumbleProto__UserList__User init_value = MUMBLE_PROTO__USER_LIST__USER__INIT;
+ *message = init_value;
+}
void mumble_proto__user_list__init
(MumbleProto__UserList *message)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_list__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__voice_target__target__init
+ (MumbleProto__VoiceTarget__Target *message)
+{
+ static MumbleProto__VoiceTarget__Target init_value = MUMBLE_PROTO__VOICE_TARGET__TARGET__INIT;
+ *message = init_value;
+}
void mumble_proto__voice_target__init
(MumbleProto__VoiceTarget *message)
{
PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__codec_version__descriptor);
protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
+void mumble_proto__user_stats__stats__init
+ (MumbleProto__UserStats__Stats *message)
+{
+ static MumbleProto__UserStats__Stats init_value = MUMBLE_PROTO__USER_STATS__STATS__INIT;
+ *message = init_value;
+}
+void mumble_proto__user_stats__init
+ (MumbleProto__UserStats *message)
+{
+ static MumbleProto__UserStats init_value = MUMBLE_PROTO__USER_STATS__INIT;
+ *message = init_value;
+}
+size_t mumble_proto__user_stats__get_packed_size
+ (const MumbleProto__UserStats *message)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_stats__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t mumble_proto__user_stats__pack
+ (const MumbleProto__UserStats *message,
+ uint8_t *out)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_stats__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t mumble_proto__user_stats__pack_to_buffer
+ (const MumbleProto__UserStats *message,
+ ProtobufCBuffer *buffer)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_stats__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+MumbleProto__UserStats *
+ mumble_proto__user_stats__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (MumbleProto__UserStats *)
+ protobuf_c_message_unpack (&mumble_proto__user_stats__descriptor,
+ allocator, len, data);
+}
+void mumble_proto__user_stats__free_unpacked
+ (MumbleProto__UserStats *message,
+ ProtobufCAllocator *allocator)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__user_stats__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void mumble_proto__request_blob__init
+ (MumbleProto__RequestBlob *message)
+{
+ static MumbleProto__RequestBlob init_value = MUMBLE_PROTO__REQUEST_BLOB__INIT;
+ *message = init_value;
+}
+size_t mumble_proto__request_blob__get_packed_size
+ (const MumbleProto__RequestBlob *message)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__request_blob__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t mumble_proto__request_blob__pack
+ (const MumbleProto__RequestBlob *message,
+ uint8_t *out)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__request_blob__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t mumble_proto__request_blob__pack_to_buffer
+ (const MumbleProto__RequestBlob *message,
+ ProtobufCBuffer *buffer)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__request_blob__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+MumbleProto__RequestBlob *
+ mumble_proto__request_blob__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (MumbleProto__RequestBlob *)
+ protobuf_c_message_unpack (&mumble_proto__request_blob__descriptor,
+ allocator, len, data);
+}
+void mumble_proto__request_blob__free_unpacked
+ (MumbleProto__RequestBlob *message,
+ ProtobufCAllocator *allocator)
+{
+ PROTOBUF_C_ASSERT (message->base.descriptor == &mumble_proto__request_blob__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
static const ProtobufCFieldDescriptor mumble_proto__version__field_descriptors[4] =
{
{
PROTOBUF_C_OFFSETOF(MumbleProto__Version, version),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"release",
PROTOBUF_C_OFFSETOF(MumbleProto__Version, release),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"os",
PROTOBUF_C_OFFSETOF(MumbleProto__Version, os),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"os_version",
PROTOBUF_C_OFFSETOF(MumbleProto__Version, os_version),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__version__field_indices_by_name[] = {
mumble_proto__version__field_descriptors,
mumble_proto__version__field_indices_by_name,
1, mumble_proto__version__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__version__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__udptunnel__field_descriptors[1] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__UDPTunnel, packet),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__udptunnel__field_indices_by_name[] = {
mumble_proto__udptunnel__field_descriptors,
mumble_proto__udptunnel__field_indices_by_name,
1, mumble_proto__udptunnel__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__udptunnel__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__authenticate__field_descriptors[4] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__Authenticate, username),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"password",
PROTOBUF_C_OFFSETOF(MumbleProto__Authenticate, password),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tokens",
PROTOBUF_C_OFFSETOF(MumbleProto__Authenticate, tokens),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"celt_versions",
PROTOBUF_C_OFFSETOF(MumbleProto__Authenticate, celt_versions),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__authenticate__field_indices_by_name[] = {
mumble_proto__authenticate__field_descriptors,
mumble_proto__authenticate__field_indices_by_name,
1, mumble_proto__authenticate__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__authenticate__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__ping__field_descriptors[11] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, timestamp),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"good",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, good),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"late",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, late),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"lost",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, lost),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"resync",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, resync),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"udp_packets",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, udp_packets),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tcp_packets",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, tcp_packets),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"udp_ping_avg",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, udp_ping_avg),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"udp_ping_var",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, udp_ping_var),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tcp_ping_avg",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, tcp_ping_avg),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tcp_ping_var",
PROTOBUF_C_OFFSETOF(MumbleProto__Ping, tcp_ping_var),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__ping__field_indices_by_name[] = {
mumble_proto__ping__field_descriptors,
mumble_proto__ping__field_indices_by_name,
1, mumble_proto__ping__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__ping__init,
+ NULL,NULL,NULL /* reserved[123] */
};
const ProtobufCEnumValue mumble_proto__reject__reject_type__enum_values_by_number[8] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__Reject, type),
&mumble_proto__reject__reject_type__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"reason",
PROTOBUF_C_OFFSETOF(MumbleProto__Reject, reason),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__reject__field_indices_by_name[] = {
mumble_proto__reject__field_descriptors,
mumble_proto__reject__field_indices_by_name,
1, mumble_proto__reject__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__reject__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor mumble_proto__server_config__field_descriptors[5] =
+{
+ {
+ "max_bandwidth",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, has_max_bandwidth),
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, max_bandwidth),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "welcome_text",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, welcome_text),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "allow_html",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, has_allow_html),
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, allow_html),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "message_length",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, has_message_length),
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, message_length),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "image_message_length",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, has_image_message_length),
+ PROTOBUF_C_OFFSETOF(MumbleProto__ServerConfig, image_message_length),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned mumble_proto__server_config__field_indices_by_name[] = {
+ 2, /* field[2] = allow_html */
+ 4, /* field[4] = image_message_length */
+ 0, /* field[0] = max_bandwidth */
+ 3, /* field[3] = message_length */
+ 1, /* field[1] = welcome_text */
};
-static const protobuf_c_boolean mumble_proto__server_sync__allow_html__default_value = 1;
-static const ProtobufCFieldDescriptor mumble_proto__server_sync__field_descriptors[5] =
+static const ProtobufCIntRange mumble_proto__server_config__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 5 }
+};
+const ProtobufCMessageDescriptor mumble_proto__server_config__descriptor =
+{
+ PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
+ "MumbleProto.ServerConfig",
+ "ServerConfig",
+ "MumbleProto__ServerConfig",
+ "MumbleProto",
+ sizeof(MumbleProto__ServerConfig),
+ 5,
+ mumble_proto__server_config__field_descriptors,
+ mumble_proto__server_config__field_indices_by_name,
+ 1, mumble_proto__server_config__number_ranges,
+ (ProtobufCMessageInit) mumble_proto__server_config__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor mumble_proto__server_sync__field_descriptors[4] =
{
{
"session",
PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"max_bandwidth",
PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, max_bandwidth),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"welcome_text",
PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, welcome_text),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"permissions",
PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, permissions),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
- },
- {
- "allow_html",
- 5,
- PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_BOOL,
- PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, has_allow_html),
- PROTOBUF_C_OFFSETOF(MumbleProto__ServerSync, allow_html),
- NULL,
- &mumble_proto__server_sync__allow_html__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__server_sync__field_indices_by_name[] = {
- 4, /* field[4] = allow_html */
1, /* field[1] = max_bandwidth */
3, /* field[3] = permissions */
0, /* field[0] = session */
static const ProtobufCIntRange mumble_proto__server_sync__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 5 }
+ { 0, 4 }
};
const ProtobufCMessageDescriptor mumble_proto__server_sync__descriptor =
{
"MumbleProto__ServerSync",
"MumbleProto",
sizeof(MumbleProto__ServerSync),
- 5,
+ 4,
mumble_proto__server_sync__field_descriptors,
mumble_proto__server_sync__field_indices_by_name,
1, mumble_proto__server_sync__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__server_sync__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__channel_remove__field_descriptors[1] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelRemove, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__channel_remove__field_indices_by_name[] = {
mumble_proto__channel_remove__field_descriptors,
mumble_proto__channel_remove__field_indices_by_name,
1, mumble_proto__channel_remove__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__channel_remove__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__channel_state__temporary__default_value = 0;
static const int32_t mumble_proto__channel_state__position__default_value = 0;
-static const ProtobufCFieldDescriptor mumble_proto__channel_state__field_descriptors[9] =
+static const ProtobufCFieldDescriptor mumble_proto__channel_state__field_descriptors[10] =
{
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"parent",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, parent),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"name",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, name),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"links",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, links),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"description",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, description),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"links_add",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, links_add),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"links_remove",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, links_remove),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"temporary",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, temporary),
NULL,
&mumble_proto__channel_state__temporary__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"position",
PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, position),
NULL,
&mumble_proto__channel_state__position__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "description_hash",
+ 10,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, has_description_hash),
+ PROTOBUF_C_OFFSETOF(MumbleProto__ChannelState, description_hash),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__channel_state__field_indices_by_name[] = {
0, /* field[0] = channel_id */
4, /* field[4] = description */
+ 9, /* field[9] = description_hash */
3, /* field[3] = links */
5, /* field[5] = links_add */
6, /* field[6] = links_remove */
static const ProtobufCIntRange mumble_proto__channel_state__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 9 }
+ { 0, 10 }
};
const ProtobufCMessageDescriptor mumble_proto__channel_state__descriptor =
{
"MumbleProto__ChannelState",
"MumbleProto",
sizeof(MumbleProto__ChannelState),
- 9,
+ 10,
mumble_proto__channel_state__field_descriptors,
mumble_proto__channel_state__field_indices_by_name,
1, mumble_proto__channel_state__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__channel_state__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__user_remove__field_descriptors[4] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__UserRemove, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"actor",
PROTOBUF_C_OFFSETOF(MumbleProto__UserRemove, actor),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"reason",
PROTOBUF_C_OFFSETOF(MumbleProto__UserRemove, reason),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"ban",
PROTOBUF_C_OFFSETOF(MumbleProto__UserRemove, ban),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__user_remove__field_indices_by_name[] = {
mumble_proto__user_remove__field_descriptors,
mumble_proto__user_remove__field_indices_by_name,
1, mumble_proto__user_remove__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__user_remove__init,
+ NULL,NULL,NULL /* reserved[123] */
};
-static const ProtobufCFieldDescriptor mumble_proto__user_state__field_descriptors[15] =
+static const ProtobufCFieldDescriptor mumble_proto__user_state__field_descriptors[19] =
{
{
"session",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"actor",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, actor),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"name",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, name),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"user_id",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, user_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"mute",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, mute),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"deaf",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, deaf),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"suppress",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, suppress),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"self_mute",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, self_mute),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"self_deaf",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, self_deaf),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"texture",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, texture),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"plugin_context",
12,
PROTOBUF_C_LABEL_OPTIONAL,
- PROTOBUF_C_TYPE_STRING,
- 0, /* quantifier_offset */
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, has_plugin_context),
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, plugin_context),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"plugin_identity",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, plugin_identity),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"comment",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, comment),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"hash",
PROTOBUF_C_OFFSETOF(MumbleProto__UserState, hash),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "comment_hash",
+ 16,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, has_comment_hash),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, comment_hash),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "texture_hash",
+ 17,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, has_texture_hash),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, texture_hash),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "priority_speaker",
+ 18,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, has_priority_speaker),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, priority_speaker),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "recording",
+ 19,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, has_recording),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserState, recording),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__user_state__field_indices_by_name[] = {
1, /* field[1] = actor */
4, /* field[4] = channel_id */
13, /* field[13] = comment */
+ 15, /* field[15] = comment_hash */
6, /* field[6] = deaf */
14, /* field[14] = hash */
5, /* field[5] = mute */
2, /* field[2] = name */
11, /* field[11] = plugin_context */
12, /* field[12] = plugin_identity */
+ 17, /* field[17] = priority_speaker */
+ 18, /* field[18] = recording */
9, /* field[9] = self_deaf */
8, /* field[8] = self_mute */
0, /* field[0] = session */
7, /* field[7] = suppress */
10, /* field[10] = texture */
+ 16, /* field[16] = texture_hash */
3, /* field[3] = user_id */
};
static const ProtobufCIntRange mumble_proto__user_state__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 15 }
+ { 0, 19 }
};
const ProtobufCMessageDescriptor mumble_proto__user_state__descriptor =
{
"MumbleProto__UserState",
"MumbleProto",
sizeof(MumbleProto__UserState),
- 15,
+ 19,
mumble_proto__user_state__field_descriptors,
mumble_proto__user_state__field_indices_by_name,
1, mumble_proto__user_state__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__user_state__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__ban_list__ban_entry__field_descriptors[7] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, address),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"mask",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, mask),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"name",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, name),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"hash",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, hash),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"reason",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, reason),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"start",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, start),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"duration",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList__BanEntry, duration),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__ban_list__ban_entry__field_indices_by_name[] = {
mumble_proto__ban_list__ban_entry__field_descriptors,
mumble_proto__ban_list__ban_entry__field_indices_by_name,
1, mumble_proto__ban_list__ban_entry__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__ban_list__ban_entry__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__ban_list__query__default_value = 0;
static const ProtobufCFieldDescriptor mumble_proto__ban_list__field_descriptors[2] =
PROTOBUF_C_OFFSETOF(MumbleProto__BanList, bans),
&mumble_proto__ban_list__ban_entry__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"query",
PROTOBUF_C_OFFSETOF(MumbleProto__BanList, query),
NULL,
&mumble_proto__ban_list__query__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__ban_list__field_indices_by_name[] = {
mumble_proto__ban_list__field_descriptors,
mumble_proto__ban_list__field_indices_by_name,
1, mumble_proto__ban_list__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__ban_list__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__text_message__field_descriptors[5] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__TextMessage, actor),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"session",
PROTOBUF_C_OFFSETOF(MumbleProto__TextMessage, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__TextMessage, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"tree_id",
PROTOBUF_C_OFFSETOF(MumbleProto__TextMessage, tree_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"message",
PROTOBUF_C_OFFSETOF(MumbleProto__TextMessage, message),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__text_message__field_indices_by_name[] = {
mumble_proto__text_message__field_descriptors,
mumble_proto__text_message__field_indices_by_name,
1, mumble_proto__text_message__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__text_message__init,
+ NULL,NULL,NULL /* reserved[123] */
};
-const ProtobufCEnumValue mumble_proto__permission_denied__deny_type__enum_values_by_number[8] =
+const ProtobufCEnumValue mumble_proto__permission_denied__deny_type__enum_values_by_number[10] =
{
{ "Text", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__TEXT", 0 },
{ "Permission", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__PERMISSION", 1 },
{ "H9K", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__H9K", 5 },
{ "TemporaryChannel", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__TEMPORARYCHANNEL", 6 },
{ "MissingCertificate", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__MISSINGCERTIFICATE", 7 },
+ { "UserName", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__USERNAME", 8 },
+ { "ChannelFull", "MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__CHANNELFULL", 9 },
};
static const ProtobufCIntRange mumble_proto__permission_denied__deny_type__value_ranges[] = {
-{0, 0},{0, 8}
+{0, 0},{0, 10}
};
-const ProtobufCEnumValueIndex mumble_proto__permission_denied__deny_type__enum_values_by_name[8] =
+const ProtobufCEnumValueIndex mumble_proto__permission_denied__deny_type__enum_values_by_name[10] =
{
+ { "ChannelFull", 9 },
{ "ChannelName", 3 },
{ "H9K", 5 },
{ "MissingCertificate", 7 },
{ "TemporaryChannel", 6 },
{ "Text", 0 },
{ "TextTooLong", 4 },
+ { "UserName", 8 },
};
const ProtobufCEnumDescriptor mumble_proto__permission_denied__deny_type__descriptor =
{
"DenyType",
"MumbleProto__PermissionDenied__DenyType",
"MumbleProto",
- 8,
+ 10,
mumble_proto__permission_denied__deny_type__enum_values_by_number,
- 8,
+ 10,
mumble_proto__permission_denied__deny_type__enum_values_by_name,
1,
mumble_proto__permission_denied__deny_type__value_ranges,
NULL,NULL,NULL,NULL /* reserved[1234] */
};
-static const ProtobufCFieldDescriptor mumble_proto__permission_denied__field_descriptors[5] =
+static const ProtobufCFieldDescriptor mumble_proto__permission_denied__field_descriptors[6] =
{
{
"permission",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, permission),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"session",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"reason",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, reason),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"type",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, type),
&mumble_proto__permission_denied__deny_type__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "name",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ PROTOBUF_C_OFFSETOF(MumbleProto__PermissionDenied, name),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__permission_denied__field_indices_by_name[] = {
1, /* field[1] = channel_id */
+ 5, /* field[5] = name */
0, /* field[0] = permission */
3, /* field[3] = reason */
2, /* field[2] = session */
static const ProtobufCIntRange mumble_proto__permission_denied__number_ranges[1 + 1] =
{
{ 1, 0 },
- { 0, 5 }
+ { 0, 6 }
};
const ProtobufCMessageDescriptor mumble_proto__permission_denied__descriptor =
{
"MumbleProto__PermissionDenied",
"MumbleProto",
sizeof(MumbleProto__PermissionDenied),
- 5,
+ 6,
mumble_proto__permission_denied__field_descriptors,
mumble_proto__permission_denied__field_indices_by_name,
1, mumble_proto__permission_denied__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__permission_denied__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__acl__chan_group__inherited__default_value = 1;
static const protobuf_c_boolean mumble_proto__acl__chan_group__inherit__default_value = 1;
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, name),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inherited",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, inherited),
NULL,
&mumble_proto__acl__chan_group__inherited__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inherit",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, inherit),
NULL,
&mumble_proto__acl__chan_group__inherit__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inheritable",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, inheritable),
NULL,
&mumble_proto__acl__chan_group__inheritable__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"add",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, add),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"remove",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, remove),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inherited_members",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanGroup, inherited_members),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__acl__chan_group__field_indices_by_name[] = {
mumble_proto__acl__chan_group__field_descriptors,
mumble_proto__acl__chan_group__field_indices_by_name,
1, mumble_proto__acl__chan_group__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__acl__chan_group__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__acl__chan_acl__apply_here__default_value = 1;
static const protobuf_c_boolean mumble_proto__acl__chan_acl__apply_subs__default_value = 1;
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, apply_here),
NULL,
&mumble_proto__acl__chan_acl__apply_here__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"apply_subs",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, apply_subs),
NULL,
&mumble_proto__acl__chan_acl__apply_subs__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inherited",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, inherited),
NULL,
&mumble_proto__acl__chan_acl__inherited__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"user_id",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, user_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"group",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, group),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"grant",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, grant),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"deny",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL__ChanACL, deny),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__acl__chan_acl__field_indices_by_name[] = {
mumble_proto__acl__chan_acl__field_descriptors,
mumble_proto__acl__chan_acl__field_indices_by_name,
1, mumble_proto__acl__chan_acl__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__acl__chan_acl__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__acl__inherit_acls__default_value = 1;
static const protobuf_c_boolean mumble_proto__acl__query__default_value = 0;
PROTOBUF_C_OFFSETOF(MumbleProto__ACL, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"inherit_acls",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL, inherit_acls),
NULL,
&mumble_proto__acl__inherit_acls__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"groups",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL, groups),
&mumble_proto__acl__chan_group__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"acls",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL, acls),
&mumble_proto__acl__chan_acl__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"query",
PROTOBUF_C_OFFSETOF(MumbleProto__ACL, query),
NULL,
&mumble_proto__acl__query__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__acl__field_indices_by_name[] = {
mumble_proto__acl__field_descriptors,
mumble_proto__acl__field_indices_by_name,
1, mumble_proto__acl__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__acl__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__query_users__field_descriptors[2] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__QueryUsers, ids),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"names",
PROTOBUF_C_OFFSETOF(MumbleProto__QueryUsers, names),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__query_users__field_indices_by_name[] = {
mumble_proto__query_users__field_descriptors,
mumble_proto__query_users__field_indices_by_name,
1, mumble_proto__query_users__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__query_users__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__crypt_setup__field_descriptors[3] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__CryptSetup, key),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"client_nonce",
PROTOBUF_C_OFFSETOF(MumbleProto__CryptSetup, client_nonce),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"server_nonce",
PROTOBUF_C_OFFSETOF(MumbleProto__CryptSetup, server_nonce),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__crypt_setup__field_indices_by_name[] = {
mumble_proto__crypt_setup__field_descriptors,
mumble_proto__crypt_setup__field_indices_by_name,
1, mumble_proto__crypt_setup__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__crypt_setup__init,
+ NULL,NULL,NULL /* reserved[123] */
};
const ProtobufCEnumValue mumble_proto__context_action_add__context__enum_values_by_number[3] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__ContextActionAdd, action),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"text",
PROTOBUF_C_OFFSETOF(MumbleProto__ContextActionAdd, text),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"context",
PROTOBUF_C_OFFSETOF(MumbleProto__ContextActionAdd, context),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__context_action_add__field_indices_by_name[] = {
mumble_proto__context_action_add__field_descriptors,
mumble_proto__context_action_add__field_indices_by_name,
1, mumble_proto__context_action_add__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__context_action_add__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__context_action__field_descriptors[3] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__ContextAction, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__ContextAction, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"action",
PROTOBUF_C_OFFSETOF(MumbleProto__ContextAction, action),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__context_action__field_indices_by_name[] = {
mumble_proto__context_action__field_descriptors,
mumble_proto__context_action__field_indices_by_name,
1, mumble_proto__context_action__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__context_action__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__user_list__user__field_descriptors[2] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__UserList__User, user_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"name",
PROTOBUF_C_OFFSETOF(MumbleProto__UserList__User, name),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__user_list__user__field_indices_by_name[] = {
mumble_proto__user_list__user__field_descriptors,
mumble_proto__user_list__user__field_indices_by_name,
1, mumble_proto__user_list__user__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__user_list__user__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__user_list__field_descriptors[1] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__UserList, users),
&mumble_proto__user_list__user__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__user_list__field_indices_by_name[] = {
mumble_proto__user_list__field_descriptors,
mumble_proto__user_list__field_indices_by_name,
1, mumble_proto__user_list__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__user_list__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__voice_target__target__links__default_value = 0;
static const protobuf_c_boolean mumble_proto__voice_target__target__children__default_value = 0;
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget__Target, session),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"channel_id",
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget__Target, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"group",
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget__Target, group),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"links",
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget__Target, links),
NULL,
&mumble_proto__voice_target__target__links__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"children",
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget__Target, children),
NULL,
&mumble_proto__voice_target__target__children__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__voice_target__target__field_indices_by_name[] = {
mumble_proto__voice_target__target__field_descriptors,
mumble_proto__voice_target__target__field_indices_by_name,
1, mumble_proto__voice_target__target__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__voice_target__target__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const ProtobufCFieldDescriptor mumble_proto__voice_target__field_descriptors[2] =
{
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget, id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"targets",
PROTOBUF_C_OFFSETOF(MumbleProto__VoiceTarget, targets),
&mumble_proto__voice_target__target__descriptor,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__voice_target__field_indices_by_name[] = {
mumble_proto__voice_target__field_descriptors,
mumble_proto__voice_target__field_indices_by_name,
1, mumble_proto__voice_target__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__voice_target__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__permission_query__flush__default_value = 0;
static const ProtobufCFieldDescriptor mumble_proto__permission_query__field_descriptors[3] =
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionQuery, channel_id),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"permissions",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionQuery, permissions),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"flush",
PROTOBUF_C_OFFSETOF(MumbleProto__PermissionQuery, flush),
NULL,
&mumble_proto__permission_query__flush__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__permission_query__field_indices_by_name[] = {
mumble_proto__permission_query__field_descriptors,
mumble_proto__permission_query__field_indices_by_name,
1, mumble_proto__permission_query__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__permission_query__init,
+ NULL,NULL,NULL /* reserved[123] */
};
static const protobuf_c_boolean mumble_proto__codec_version__prefer_alpha__default_value = 1;
static const ProtobufCFieldDescriptor mumble_proto__codec_version__field_descriptors[3] =
PROTOBUF_C_OFFSETOF(MumbleProto__CodecVersion, alpha),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"beta",
PROTOBUF_C_OFFSETOF(MumbleProto__CodecVersion, beta),
NULL,
NULL,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
{
"prefer_alpha",
PROTOBUF_C_OFFSETOF(MumbleProto__CodecVersion, prefer_alpha),
NULL,
&mumble_proto__codec_version__prefer_alpha__default_value,
- NULL,NULL /* reserved1, reserved2 */
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
},
};
static const unsigned mumble_proto__codec_version__field_indices_by_name[] = {
mumble_proto__codec_version__field_descriptors,
mumble_proto__codec_version__field_indices_by_name,
1, mumble_proto__codec_version__number_ranges,
- NULL,NULL,NULL,NULL /* reserved[1234] */
+ (ProtobufCMessageInit) mumble_proto__codec_version__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor mumble_proto__user_stats__stats__field_descriptors[4] =
+{
+ {
+ "good",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, has_good),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, good),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "late",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, has_late),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, late),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "lost",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, has_lost),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, lost),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "resync",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, has_resync),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats__Stats, resync),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned mumble_proto__user_stats__stats__field_indices_by_name[] = {
+ 0, /* field[0] = good */
+ 1, /* field[1] = late */
+ 2, /* field[2] = lost */
+ 3, /* field[3] = resync */
+};
+static const ProtobufCIntRange mumble_proto__user_stats__stats__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 4 }
+};
+const ProtobufCMessageDescriptor mumble_proto__user_stats__stats__descriptor =
+{
+ PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
+ "MumbleProto.UserStats.Stats",
+ "Stats",
+ "MumbleProto__UserStats__Stats",
+ "MumbleProto",
+ sizeof(MumbleProto__UserStats__Stats),
+ 4,
+ mumble_proto__user_stats__stats__field_descriptors,
+ mumble_proto__user_stats__stats__field_indices_by_name,
+ 1, mumble_proto__user_stats__stats__number_ranges,
+ (ProtobufCMessageInit) mumble_proto__user_stats__stats__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const protobuf_c_boolean mumble_proto__user_stats__stats_only__default_value = 0;
+static const protobuf_c_boolean mumble_proto__user_stats__strong_certificate__default_value = 0;
+static const ProtobufCFieldDescriptor mumble_proto__user_stats__field_descriptors[18] =
+{
+ {
+ "session",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_session),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, session),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "stats_only",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_stats_only),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, stats_only),
+ NULL,
+ &mumble_proto__user_stats__stats_only__default_value,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "certificates",
+ 3,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, n_certificates),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, certificates),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "from_client",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, from_client),
+ &mumble_proto__user_stats__stats__descriptor,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "from_server",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, from_server),
+ &mumble_proto__user_stats__stats__descriptor,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "udp_packets",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_udp_packets),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, udp_packets),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "tcp_packets",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_tcp_packets),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, tcp_packets),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "udp_ping_avg",
+ 8,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FLOAT,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_udp_ping_avg),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, udp_ping_avg),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "udp_ping_var",
+ 9,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FLOAT,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_udp_ping_var),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, udp_ping_var),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "tcp_ping_avg",
+ 10,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FLOAT,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_tcp_ping_avg),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, tcp_ping_avg),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "tcp_ping_var",
+ 11,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_FLOAT,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_tcp_ping_var),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, tcp_ping_var),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "version",
+ 12,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, version),
+ &mumble_proto__version__descriptor,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "celt_versions",
+ 13,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_INT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, n_celt_versions),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, celt_versions),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "address",
+ 14,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_address),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, address),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "bandwidth",
+ 15,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_bandwidth),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, bandwidth),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "onlinesecs",
+ 16,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_onlinesecs),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, onlinesecs),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "idlesecs",
+ 17,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_idlesecs),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, idlesecs),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "strong_certificate",
+ 18,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BOOL,
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, has_strong_certificate),
+ PROTOBUF_C_OFFSETOF(MumbleProto__UserStats, strong_certificate),
+ NULL,
+ &mumble_proto__user_stats__strong_certificate__default_value,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned mumble_proto__user_stats__field_indices_by_name[] = {
+ 13, /* field[13] = address */
+ 14, /* field[14] = bandwidth */
+ 12, /* field[12] = celt_versions */
+ 2, /* field[2] = certificates */
+ 3, /* field[3] = from_client */
+ 4, /* field[4] = from_server */
+ 16, /* field[16] = idlesecs */
+ 15, /* field[15] = onlinesecs */
+ 0, /* field[0] = session */
+ 1, /* field[1] = stats_only */
+ 17, /* field[17] = strong_certificate */
+ 6, /* field[6] = tcp_packets */
+ 9, /* field[9] = tcp_ping_avg */
+ 10, /* field[10] = tcp_ping_var */
+ 5, /* field[5] = udp_packets */
+ 7, /* field[7] = udp_ping_avg */
+ 8, /* field[8] = udp_ping_var */
+ 11, /* field[11] = version */
+};
+static const ProtobufCIntRange mumble_proto__user_stats__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 18 }
+};
+const ProtobufCMessageDescriptor mumble_proto__user_stats__descriptor =
+{
+ PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
+ "MumbleProto.UserStats",
+ "UserStats",
+ "MumbleProto__UserStats",
+ "MumbleProto",
+ sizeof(MumbleProto__UserStats),
+ 18,
+ mumble_proto__user_stats__field_descriptors,
+ mumble_proto__user_stats__field_indices_by_name,
+ 1, mumble_proto__user_stats__number_ranges,
+ (ProtobufCMessageInit) mumble_proto__user_stats__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor mumble_proto__request_blob__field_descriptors[3] =
+{
+ {
+ "session_texture",
+ 1,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, n_session_texture),
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, session_texture),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "session_comment",
+ 2,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, n_session_comment),
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, session_comment),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "channel_description",
+ 3,
+ PROTOBUF_C_LABEL_REPEATED,
+ PROTOBUF_C_TYPE_UINT32,
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, n_channel_description),
+ PROTOBUF_C_OFFSETOF(MumbleProto__RequestBlob, channel_description),
+ NULL,
+ NULL,
+ 0, /* packed */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned mumble_proto__request_blob__field_indices_by_name[] = {
+ 2, /* field[2] = channel_description */
+ 1, /* field[1] = session_comment */
+ 0, /* field[0] = session_texture */
+};
+static const ProtobufCIntRange mumble_proto__request_blob__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor mumble_proto__request_blob__descriptor =
+{
+ PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
+ "MumbleProto.RequestBlob",
+ "RequestBlob",
+ "MumbleProto__RequestBlob",
+ "MumbleProto",
+ sizeof(MumbleProto__RequestBlob),
+ 3,
+ mumble_proto__request_blob__field_descriptors,
+ mumble_proto__request_blob__field_indices_by_name,
+ 1, mumble_proto__request_blob__number_ranges,
+ (ProtobufCMessageInit) mumble_proto__request_blob__init,
+ NULL,NULL,NULL /* reserved[123] */
};