1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
3 #ifndef PROTOBUF_C_Mumble_2eproto__INCLUDED
4 #define PROTOBUF_C_Mumble_2eproto__INCLUDED
6 #include <google/protobuf-c/protobuf-c.h>
11 typedef struct _MumbleProto__Version MumbleProto__Version;
12 typedef struct _MumbleProto__UDPTunnel MumbleProto__UDPTunnel;
13 typedef struct _MumbleProto__Authenticate MumbleProto__Authenticate;
14 typedef struct _MumbleProto__Ping MumbleProto__Ping;
15 typedef struct _MumbleProto__Reject MumbleProto__Reject;
16 typedef struct _MumbleProto__ServerSync MumbleProto__ServerSync;
17 typedef struct _MumbleProto__ChannelRemove MumbleProto__ChannelRemove;
18 typedef struct _MumbleProto__ChannelState MumbleProto__ChannelState;
19 typedef struct _MumbleProto__UserRemove MumbleProto__UserRemove;
20 typedef struct _MumbleProto__UserState MumbleProto__UserState;
21 typedef struct _MumbleProto__BanList MumbleProto__BanList;
22 typedef struct _MumbleProto__BanList__BanEntry MumbleProto__BanList__BanEntry;
23 typedef struct _MumbleProto__TextMessage MumbleProto__TextMessage;
24 typedef struct _MumbleProto__PermissionDenied MumbleProto__PermissionDenied;
25 typedef struct _MumbleProto__ACL MumbleProto__ACL;
26 typedef struct _MumbleProto__ACL__ChanGroup MumbleProto__ACL__ChanGroup;
27 typedef struct _MumbleProto__ACL__ChanACL MumbleProto__ACL__ChanACL;
28 typedef struct _MumbleProto__QueryUsers MumbleProto__QueryUsers;
29 typedef struct _MumbleProto__CryptSetup MumbleProto__CryptSetup;
30 typedef struct _MumbleProto__ContextActionAdd MumbleProto__ContextActionAdd;
31 typedef struct _MumbleProto__ContextAction MumbleProto__ContextAction;
32 typedef struct _MumbleProto__UserList MumbleProto__UserList;
33 typedef struct _MumbleProto__UserList__User MumbleProto__UserList__User;
34 typedef struct _MumbleProto__VoiceTarget MumbleProto__VoiceTarget;
35 typedef struct _MumbleProto__VoiceTarget__Target MumbleProto__VoiceTarget__Target;
36 typedef struct _MumbleProto__PermissionQuery MumbleProto__PermissionQuery;
37 typedef struct _MumbleProto__CodecVersion MumbleProto__CodecVersion;
42 typedef enum _MumbleProto__Reject__RejectType {
43 MUMBLE_PROTO__REJECT__REJECT_TYPE__None = 0,
44 MUMBLE_PROTO__REJECT__REJECT_TYPE__WrongVersion = 1,
45 MUMBLE_PROTO__REJECT__REJECT_TYPE__InvalidUsername = 2,
46 MUMBLE_PROTO__REJECT__REJECT_TYPE__WrongUserPW = 3,
47 MUMBLE_PROTO__REJECT__REJECT_TYPE__WrongServerPW = 4,
48 MUMBLE_PROTO__REJECT__REJECT_TYPE__UsernameInUse = 5,
49 MUMBLE_PROTO__REJECT__REJECT_TYPE__ServerFull = 6,
50 MUMBLE_PROTO__REJECT__REJECT_TYPE__NoCertificate = 7
51 } MumbleProto__Reject__RejectType;
52 typedef enum _MumbleProto__PermissionDenied__DenyType {
53 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__Text = 0,
54 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__Permission = 1,
55 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__SuperUser = 2,
56 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__ChannelName = 3,
57 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__TextTooLong = 4,
58 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__H9K = 5,
59 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__TemporaryChannel = 6,
60 MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__MissingCertificate = 7
61 } MumbleProto__PermissionDenied__DenyType;
62 typedef enum _MumbleProto__ContextActionAdd__Context {
63 MUMBLE_PROTO__CONTEXT_ACTION_ADD__CONTEXT__Server = 1,
64 MUMBLE_PROTO__CONTEXT_ACTION_ADD__CONTEXT__Channel = 2,
65 MUMBLE_PROTO__CONTEXT_ACTION_ADD__CONTEXT__User = 4
66 } MumbleProto__ContextActionAdd__Context;
68 /* --- messages --- */
70 struct _MumbleProto__Version
72 ProtobufCMessage base;
73 protobuf_c_boolean has_version;
79 #define MUMBLE_PROTO__VERSION__INIT \
80 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__version__descriptor) \
81 , 0,0, NULL, NULL, NULL }
84 struct _MumbleProto__UDPTunnel
86 ProtobufCMessage base;
87 ProtobufCBinaryData packet;
89 #define MUMBLE_PROTO__UDPTUNNEL__INIT \
90 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__udptunnel__descriptor) \
94 struct _MumbleProto__Authenticate
96 ProtobufCMessage base;
101 size_t n_celt_versions;
102 int32_t *celt_versions;
104 #define MUMBLE_PROTO__AUTHENTICATE__INIT \
105 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__authenticate__descriptor) \
106 , NULL, NULL, 0,NULL, 0,NULL }
109 struct _MumbleProto__Ping
111 ProtobufCMessage base;
112 protobuf_c_boolean has_timestamp;
114 protobuf_c_boolean has_good;
116 protobuf_c_boolean has_late;
118 protobuf_c_boolean has_lost;
120 protobuf_c_boolean has_resync;
122 protobuf_c_boolean has_udp_packets;
123 uint32_t udp_packets;
124 protobuf_c_boolean has_tcp_packets;
125 uint32_t tcp_packets;
126 protobuf_c_boolean has_udp_ping_avg;
128 protobuf_c_boolean has_udp_ping_var;
130 protobuf_c_boolean has_tcp_ping_avg;
132 protobuf_c_boolean has_tcp_ping_var;
135 #define MUMBLE_PROTO__PING__INIT \
136 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__ping__descriptor) \
137 , 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0 }
140 struct _MumbleProto__Reject
142 ProtobufCMessage base;
143 protobuf_c_boolean has_type;
144 MumbleProto__Reject__RejectType type;
147 #define MUMBLE_PROTO__REJECT__INIT \
148 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__reject__descriptor) \
152 struct _MumbleProto__ServerSync
154 ProtobufCMessage base;
155 protobuf_c_boolean has_session;
157 protobuf_c_boolean has_max_bandwidth;
158 uint32_t max_bandwidth;
160 protobuf_c_boolean has_permissions;
161 uint64_t permissions;
162 protobuf_c_boolean has_allow_html;
163 protobuf_c_boolean allow_html;
165 #define MUMBLE_PROTO__SERVER_SYNC__INIT \
166 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__server_sync__descriptor) \
167 , 0,0, 0,0, NULL, 0,0, 0,1 }
170 struct _MumbleProto__ChannelRemove
172 ProtobufCMessage base;
175 #define MUMBLE_PROTO__CHANNEL_REMOVE__INIT \
176 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__channel_remove__descriptor) \
180 struct _MumbleProto__ChannelState
182 ProtobufCMessage base;
183 protobuf_c_boolean has_channel_id;
185 protobuf_c_boolean has_parent;
193 size_t n_links_remove;
194 uint32_t *links_remove;
195 protobuf_c_boolean has_temporary;
196 protobuf_c_boolean temporary;
197 protobuf_c_boolean has_position;
200 #define MUMBLE_PROTO__CHANNEL_STATE__INIT \
201 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__channel_state__descriptor) \
202 , 0,0, 0,0, NULL, 0,NULL, NULL, 0,NULL, 0,NULL, 0,0, 0,0 }
205 struct _MumbleProto__UserRemove
207 ProtobufCMessage base;
209 protobuf_c_boolean has_actor;
212 protobuf_c_boolean has_ban;
213 protobuf_c_boolean ban;
215 #define MUMBLE_PROTO__USER_REMOVE__INIT \
216 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__user_remove__descriptor) \
217 , 0, 0,0, NULL, 0,0 }
220 struct _MumbleProto__UserState
222 ProtobufCMessage base;
223 protobuf_c_boolean has_session;
225 protobuf_c_boolean has_actor;
228 protobuf_c_boolean has_user_id;
230 protobuf_c_boolean has_channel_id;
232 protobuf_c_boolean has_mute;
233 protobuf_c_boolean mute;
234 protobuf_c_boolean has_deaf;
235 protobuf_c_boolean deaf;
236 protobuf_c_boolean has_suppress;
237 protobuf_c_boolean suppress;
238 protobuf_c_boolean has_self_mute;
239 protobuf_c_boolean self_mute;
240 protobuf_c_boolean has_self_deaf;
241 protobuf_c_boolean self_deaf;
242 protobuf_c_boolean has_texture;
243 ProtobufCBinaryData texture;
244 char *plugin_context;
245 char *plugin_identity;
249 #define MUMBLE_PROTO__USER_STATE__INIT \
250 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__user_state__descriptor) \
251 , 0,0, 0,0, NULL, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,0, 0,{0,NULL}, NULL, NULL, NULL, NULL }
254 struct _MumbleProto__BanList__BanEntry
256 ProtobufCMessage base;
257 ProtobufCBinaryData address;
263 protobuf_c_boolean has_duration;
266 #define MUMBLE_PROTO__BAN_LIST__BAN_ENTRY__INIT \
267 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__ban_list__ban_entry__descriptor) \
268 , {0,NULL}, 0, NULL, NULL, NULL, NULL, 0,0 }
271 struct _MumbleProto__BanList
273 ProtobufCMessage base;
275 MumbleProto__BanList__BanEntry **bans;
276 protobuf_c_boolean has_query;
277 protobuf_c_boolean query;
279 #define MUMBLE_PROTO__BAN_LIST__INIT \
280 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__ban_list__descriptor) \
284 struct _MumbleProto__TextMessage
286 ProtobufCMessage base;
287 protobuf_c_boolean has_actor;
292 uint32_t *channel_id;
297 #define MUMBLE_PROTO__TEXT_MESSAGE__INIT \
298 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__text_message__descriptor) \
299 , 0,0, 0,NULL, 0,NULL, 0,NULL, NULL }
302 struct _MumbleProto__PermissionDenied
304 ProtobufCMessage base;
305 protobuf_c_boolean has_permission;
307 protobuf_c_boolean has_channel_id;
309 protobuf_c_boolean has_session;
312 protobuf_c_boolean has_type;
313 MumbleProto__PermissionDenied__DenyType type;
315 #define MUMBLE_PROTO__PERMISSION_DENIED__INIT \
316 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__permission_denied__descriptor) \
317 , 0,0, 0,0, 0,0, NULL, 0,0 }
320 struct _MumbleProto__ACL__ChanGroup
322 ProtobufCMessage base;
324 protobuf_c_boolean has_inherited;
325 protobuf_c_boolean inherited;
326 protobuf_c_boolean has_inherit;
327 protobuf_c_boolean inherit;
328 protobuf_c_boolean has_inheritable;
329 protobuf_c_boolean inheritable;
334 size_t n_inherited_members;
335 uint32_t *inherited_members;
337 #define MUMBLE_PROTO__ACL__CHAN_GROUP__INIT \
338 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__acl__chan_group__descriptor) \
339 , NULL, 0,1, 0,1, 0,1, 0,NULL, 0,NULL, 0,NULL }
342 struct _MumbleProto__ACL__ChanACL
344 ProtobufCMessage base;
345 protobuf_c_boolean has_apply_here;
346 protobuf_c_boolean apply_here;
347 protobuf_c_boolean has_apply_subs;
348 protobuf_c_boolean apply_subs;
349 protobuf_c_boolean has_inherited;
350 protobuf_c_boolean inherited;
351 protobuf_c_boolean has_user_id;
354 protobuf_c_boolean has_grant;
356 protobuf_c_boolean has_deny;
359 #define MUMBLE_PROTO__ACL__CHAN_ACL__INIT \
360 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__acl__chan_acl__descriptor) \
361 , 0,1, 0,1, 0,1, 0,0, NULL, 0,0, 0,0 }
364 struct _MumbleProto__ACL
366 ProtobufCMessage base;
368 protobuf_c_boolean has_inherit_acls;
369 protobuf_c_boolean inherit_acls;
371 MumbleProto__ACL__ChanGroup **groups;
373 MumbleProto__ACL__ChanACL **acls;
374 protobuf_c_boolean has_query;
375 protobuf_c_boolean query;
377 #define MUMBLE_PROTO__ACL__INIT \
378 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__acl__descriptor) \
379 , 0, 0,1, 0,NULL, 0,NULL, 0,0 }
382 struct _MumbleProto__QueryUsers
384 ProtobufCMessage base;
390 #define MUMBLE_PROTO__QUERY_USERS__INIT \
391 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__query_users__descriptor) \
395 struct _MumbleProto__CryptSetup
397 ProtobufCMessage base;
398 protobuf_c_boolean has_key;
399 ProtobufCBinaryData key;
400 protobuf_c_boolean has_client_nonce;
401 ProtobufCBinaryData client_nonce;
402 protobuf_c_boolean has_server_nonce;
403 ProtobufCBinaryData server_nonce;
405 #define MUMBLE_PROTO__CRYPT_SETUP__INIT \
406 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__crypt_setup__descriptor) \
407 , 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} }
410 struct _MumbleProto__ContextActionAdd
412 ProtobufCMessage base;
415 protobuf_c_boolean has_context;
418 #define MUMBLE_PROTO__CONTEXT_ACTION_ADD__INIT \
419 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__context_action_add__descriptor) \
423 struct _MumbleProto__ContextAction
425 ProtobufCMessage base;
426 protobuf_c_boolean has_session;
428 protobuf_c_boolean has_channel_id;
432 #define MUMBLE_PROTO__CONTEXT_ACTION__INIT \
433 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__context_action__descriptor) \
437 struct _MumbleProto__UserList__User
439 ProtobufCMessage base;
443 #define MUMBLE_PROTO__USER_LIST__USER__INIT \
444 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__user_list__user__descriptor) \
448 struct _MumbleProto__UserList
450 ProtobufCMessage base;
452 MumbleProto__UserList__User **users;
454 #define MUMBLE_PROTO__USER_LIST__INIT \
455 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__user_list__descriptor) \
459 struct _MumbleProto__VoiceTarget__Target
461 ProtobufCMessage base;
464 protobuf_c_boolean has_channel_id;
467 protobuf_c_boolean has_links;
468 protobuf_c_boolean links;
469 protobuf_c_boolean has_children;
470 protobuf_c_boolean children;
472 #define MUMBLE_PROTO__VOICE_TARGET__TARGET__INIT \
473 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__voice_target__target__descriptor) \
474 , 0,NULL, 0,0, NULL, 0,0, 0,0 }
477 struct _MumbleProto__VoiceTarget
479 ProtobufCMessage base;
480 protobuf_c_boolean has_id;
483 MumbleProto__VoiceTarget__Target **targets;
485 #define MUMBLE_PROTO__VOICE_TARGET__INIT \
486 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__voice_target__descriptor) \
490 struct _MumbleProto__PermissionQuery
492 ProtobufCMessage base;
493 protobuf_c_boolean has_channel_id;
495 protobuf_c_boolean has_permissions;
496 uint32_t permissions;
497 protobuf_c_boolean has_flush;
498 protobuf_c_boolean flush;
500 #define MUMBLE_PROTO__PERMISSION_QUERY__INIT \
501 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__permission_query__descriptor) \
505 struct _MumbleProto__CodecVersion
507 ProtobufCMessage base;
510 protobuf_c_boolean prefer_alpha;
512 #define MUMBLE_PROTO__CODEC_VERSION__INIT \
513 { PROTOBUF_C_MESSAGE_INIT (&mumble_proto__codec_version__descriptor) \
517 /* MumbleProto__Version methods */
518 void mumble_proto__version__init
519 (MumbleProto__Version *message);
520 size_t mumble_proto__version__get_packed_size
521 (const MumbleProto__Version *message);
522 size_t mumble_proto__version__pack
523 (const MumbleProto__Version *message,
525 size_t mumble_proto__version__pack_to_buffer
526 (const MumbleProto__Version *message,
527 ProtobufCBuffer *buffer);
528 MumbleProto__Version *
529 mumble_proto__version__unpack
530 (ProtobufCAllocator *allocator,
532 const uint8_t *data);
533 void mumble_proto__version__free_unpacked
534 (MumbleProto__Version *message,
535 ProtobufCAllocator *allocator);
536 /* MumbleProto__UDPTunnel methods */
537 void mumble_proto__udptunnel__init
538 (MumbleProto__UDPTunnel *message);
539 size_t mumble_proto__udptunnel__get_packed_size
540 (const MumbleProto__UDPTunnel *message);
541 size_t mumble_proto__udptunnel__pack
542 (const MumbleProto__UDPTunnel *message,
544 size_t mumble_proto__udptunnel__pack_to_buffer
545 (const MumbleProto__UDPTunnel *message,
546 ProtobufCBuffer *buffer);
547 MumbleProto__UDPTunnel *
548 mumble_proto__udptunnel__unpack
549 (ProtobufCAllocator *allocator,
551 const uint8_t *data);
552 void mumble_proto__udptunnel__free_unpacked
553 (MumbleProto__UDPTunnel *message,
554 ProtobufCAllocator *allocator);
555 /* MumbleProto__Authenticate methods */
556 void mumble_proto__authenticate__init
557 (MumbleProto__Authenticate *message);
558 size_t mumble_proto__authenticate__get_packed_size
559 (const MumbleProto__Authenticate *message);
560 size_t mumble_proto__authenticate__pack
561 (const MumbleProto__Authenticate *message,
563 size_t mumble_proto__authenticate__pack_to_buffer
564 (const MumbleProto__Authenticate *message,
565 ProtobufCBuffer *buffer);
566 MumbleProto__Authenticate *
567 mumble_proto__authenticate__unpack
568 (ProtobufCAllocator *allocator,
570 const uint8_t *data);
571 void mumble_proto__authenticate__free_unpacked
572 (MumbleProto__Authenticate *message,
573 ProtobufCAllocator *allocator);
574 /* MumbleProto__Ping methods */
575 void mumble_proto__ping__init
576 (MumbleProto__Ping *message);
577 size_t mumble_proto__ping__get_packed_size
578 (const MumbleProto__Ping *message);
579 size_t mumble_proto__ping__pack
580 (const MumbleProto__Ping *message,
582 size_t mumble_proto__ping__pack_to_buffer
583 (const MumbleProto__Ping *message,
584 ProtobufCBuffer *buffer);
586 mumble_proto__ping__unpack
587 (ProtobufCAllocator *allocator,
589 const uint8_t *data);
590 void mumble_proto__ping__free_unpacked
591 (MumbleProto__Ping *message,
592 ProtobufCAllocator *allocator);
593 /* MumbleProto__Reject methods */
594 void mumble_proto__reject__init
595 (MumbleProto__Reject *message);
596 size_t mumble_proto__reject__get_packed_size
597 (const MumbleProto__Reject *message);
598 size_t mumble_proto__reject__pack
599 (const MumbleProto__Reject *message,
601 size_t mumble_proto__reject__pack_to_buffer
602 (const MumbleProto__Reject *message,
603 ProtobufCBuffer *buffer);
604 MumbleProto__Reject *
605 mumble_proto__reject__unpack
606 (ProtobufCAllocator *allocator,
608 const uint8_t *data);
609 void mumble_proto__reject__free_unpacked
610 (MumbleProto__Reject *message,
611 ProtobufCAllocator *allocator);
612 /* MumbleProto__ServerSync methods */
613 void mumble_proto__server_sync__init
614 (MumbleProto__ServerSync *message);
615 size_t mumble_proto__server_sync__get_packed_size
616 (const MumbleProto__ServerSync *message);
617 size_t mumble_proto__server_sync__pack
618 (const MumbleProto__ServerSync *message,
620 size_t mumble_proto__server_sync__pack_to_buffer
621 (const MumbleProto__ServerSync *message,
622 ProtobufCBuffer *buffer);
623 MumbleProto__ServerSync *
624 mumble_proto__server_sync__unpack
625 (ProtobufCAllocator *allocator,
627 const uint8_t *data);
628 void mumble_proto__server_sync__free_unpacked
629 (MumbleProto__ServerSync *message,
630 ProtobufCAllocator *allocator);
631 /* MumbleProto__ChannelRemove methods */
632 void mumble_proto__channel_remove__init
633 (MumbleProto__ChannelRemove *message);
634 size_t mumble_proto__channel_remove__get_packed_size
635 (const MumbleProto__ChannelRemove *message);
636 size_t mumble_proto__channel_remove__pack
637 (const MumbleProto__ChannelRemove *message,
639 size_t mumble_proto__channel_remove__pack_to_buffer
640 (const MumbleProto__ChannelRemove *message,
641 ProtobufCBuffer *buffer);
642 MumbleProto__ChannelRemove *
643 mumble_proto__channel_remove__unpack
644 (ProtobufCAllocator *allocator,
646 const uint8_t *data);
647 void mumble_proto__channel_remove__free_unpacked
648 (MumbleProto__ChannelRemove *message,
649 ProtobufCAllocator *allocator);
650 /* MumbleProto__ChannelState methods */
651 void mumble_proto__channel_state__init
652 (MumbleProto__ChannelState *message);
653 size_t mumble_proto__channel_state__get_packed_size
654 (const MumbleProto__ChannelState *message);
655 size_t mumble_proto__channel_state__pack
656 (const MumbleProto__ChannelState *message,
658 size_t mumble_proto__channel_state__pack_to_buffer
659 (const MumbleProto__ChannelState *message,
660 ProtobufCBuffer *buffer);
661 MumbleProto__ChannelState *
662 mumble_proto__channel_state__unpack
663 (ProtobufCAllocator *allocator,
665 const uint8_t *data);
666 void mumble_proto__channel_state__free_unpacked
667 (MumbleProto__ChannelState *message,
668 ProtobufCAllocator *allocator);
669 /* MumbleProto__UserRemove methods */
670 void mumble_proto__user_remove__init
671 (MumbleProto__UserRemove *message);
672 size_t mumble_proto__user_remove__get_packed_size
673 (const MumbleProto__UserRemove *message);
674 size_t mumble_proto__user_remove__pack
675 (const MumbleProto__UserRemove *message,
677 size_t mumble_proto__user_remove__pack_to_buffer
678 (const MumbleProto__UserRemove *message,
679 ProtobufCBuffer *buffer);
680 MumbleProto__UserRemove *
681 mumble_proto__user_remove__unpack
682 (ProtobufCAllocator *allocator,
684 const uint8_t *data);
685 void mumble_proto__user_remove__free_unpacked
686 (MumbleProto__UserRemove *message,
687 ProtobufCAllocator *allocator);
688 /* MumbleProto__UserState methods */
689 void mumble_proto__user_state__init
690 (MumbleProto__UserState *message);
691 size_t mumble_proto__user_state__get_packed_size
692 (const MumbleProto__UserState *message);
693 size_t mumble_proto__user_state__pack
694 (const MumbleProto__UserState *message,
696 size_t mumble_proto__user_state__pack_to_buffer
697 (const MumbleProto__UserState *message,
698 ProtobufCBuffer *buffer);
699 MumbleProto__UserState *
700 mumble_proto__user_state__unpack
701 (ProtobufCAllocator *allocator,
703 const uint8_t *data);
704 void mumble_proto__user_state__free_unpacked
705 (MumbleProto__UserState *message,
706 ProtobufCAllocator *allocator);
707 /* MumbleProto__BanList methods */
708 void mumble_proto__ban_list__init
709 (MumbleProto__BanList *message);
710 size_t mumble_proto__ban_list__get_packed_size
711 (const MumbleProto__BanList *message);
712 size_t mumble_proto__ban_list__pack
713 (const MumbleProto__BanList *message,
715 size_t mumble_proto__ban_list__pack_to_buffer
716 (const MumbleProto__BanList *message,
717 ProtobufCBuffer *buffer);
718 MumbleProto__BanList *
719 mumble_proto__ban_list__unpack
720 (ProtobufCAllocator *allocator,
722 const uint8_t *data);
723 void mumble_proto__ban_list__free_unpacked
724 (MumbleProto__BanList *message,
725 ProtobufCAllocator *allocator);
726 /* MumbleProto__TextMessage methods */
727 void mumble_proto__text_message__init
728 (MumbleProto__TextMessage *message);
729 size_t mumble_proto__text_message__get_packed_size
730 (const MumbleProto__TextMessage *message);
731 size_t mumble_proto__text_message__pack
732 (const MumbleProto__TextMessage *message,
734 size_t mumble_proto__text_message__pack_to_buffer
735 (const MumbleProto__TextMessage *message,
736 ProtobufCBuffer *buffer);
737 MumbleProto__TextMessage *
738 mumble_proto__text_message__unpack
739 (ProtobufCAllocator *allocator,
741 const uint8_t *data);
742 void mumble_proto__text_message__free_unpacked
743 (MumbleProto__TextMessage *message,
744 ProtobufCAllocator *allocator);
745 /* MumbleProto__PermissionDenied methods */
746 void mumble_proto__permission_denied__init
747 (MumbleProto__PermissionDenied *message);
748 size_t mumble_proto__permission_denied__get_packed_size
749 (const MumbleProto__PermissionDenied *message);
750 size_t mumble_proto__permission_denied__pack
751 (const MumbleProto__PermissionDenied *message,
753 size_t mumble_proto__permission_denied__pack_to_buffer
754 (const MumbleProto__PermissionDenied *message,
755 ProtobufCBuffer *buffer);
756 MumbleProto__PermissionDenied *
757 mumble_proto__permission_denied__unpack
758 (ProtobufCAllocator *allocator,
760 const uint8_t *data);
761 void mumble_proto__permission_denied__free_unpacked
762 (MumbleProto__PermissionDenied *message,
763 ProtobufCAllocator *allocator);
764 /* MumbleProto__ACL methods */
765 void mumble_proto__acl__init
766 (MumbleProto__ACL *message);
767 size_t mumble_proto__acl__get_packed_size
768 (const MumbleProto__ACL *message);
769 size_t mumble_proto__acl__pack
770 (const MumbleProto__ACL *message,
772 size_t mumble_proto__acl__pack_to_buffer
773 (const MumbleProto__ACL *message,
774 ProtobufCBuffer *buffer);
776 mumble_proto__acl__unpack
777 (ProtobufCAllocator *allocator,
779 const uint8_t *data);
780 void mumble_proto__acl__free_unpacked
781 (MumbleProto__ACL *message,
782 ProtobufCAllocator *allocator);
783 /* MumbleProto__QueryUsers methods */
784 void mumble_proto__query_users__init
785 (MumbleProto__QueryUsers *message);
786 size_t mumble_proto__query_users__get_packed_size
787 (const MumbleProto__QueryUsers *message);
788 size_t mumble_proto__query_users__pack
789 (const MumbleProto__QueryUsers *message,
791 size_t mumble_proto__query_users__pack_to_buffer
792 (const MumbleProto__QueryUsers *message,
793 ProtobufCBuffer *buffer);
794 MumbleProto__QueryUsers *
795 mumble_proto__query_users__unpack
796 (ProtobufCAllocator *allocator,
798 const uint8_t *data);
799 void mumble_proto__query_users__free_unpacked
800 (MumbleProto__QueryUsers *message,
801 ProtobufCAllocator *allocator);
802 /* MumbleProto__CryptSetup methods */
803 void mumble_proto__crypt_setup__init
804 (MumbleProto__CryptSetup *message);
805 size_t mumble_proto__crypt_setup__get_packed_size
806 (const MumbleProto__CryptSetup *message);
807 size_t mumble_proto__crypt_setup__pack
808 (const MumbleProto__CryptSetup *message,
810 size_t mumble_proto__crypt_setup__pack_to_buffer
811 (const MumbleProto__CryptSetup *message,
812 ProtobufCBuffer *buffer);
813 MumbleProto__CryptSetup *
814 mumble_proto__crypt_setup__unpack
815 (ProtobufCAllocator *allocator,
817 const uint8_t *data);
818 void mumble_proto__crypt_setup__free_unpacked
819 (MumbleProto__CryptSetup *message,
820 ProtobufCAllocator *allocator);
821 /* MumbleProto__ContextActionAdd methods */
822 void mumble_proto__context_action_add__init
823 (MumbleProto__ContextActionAdd *message);
824 size_t mumble_proto__context_action_add__get_packed_size
825 (const MumbleProto__ContextActionAdd *message);
826 size_t mumble_proto__context_action_add__pack
827 (const MumbleProto__ContextActionAdd *message,
829 size_t mumble_proto__context_action_add__pack_to_buffer
830 (const MumbleProto__ContextActionAdd *message,
831 ProtobufCBuffer *buffer);
832 MumbleProto__ContextActionAdd *
833 mumble_proto__context_action_add__unpack
834 (ProtobufCAllocator *allocator,
836 const uint8_t *data);
837 void mumble_proto__context_action_add__free_unpacked
838 (MumbleProto__ContextActionAdd *message,
839 ProtobufCAllocator *allocator);
840 /* MumbleProto__ContextAction methods */
841 void mumble_proto__context_action__init
842 (MumbleProto__ContextAction *message);
843 size_t mumble_proto__context_action__get_packed_size
844 (const MumbleProto__ContextAction *message);
845 size_t mumble_proto__context_action__pack
846 (const MumbleProto__ContextAction *message,
848 size_t mumble_proto__context_action__pack_to_buffer
849 (const MumbleProto__ContextAction *message,
850 ProtobufCBuffer *buffer);
851 MumbleProto__ContextAction *
852 mumble_proto__context_action__unpack
853 (ProtobufCAllocator *allocator,
855 const uint8_t *data);
856 void mumble_proto__context_action__free_unpacked
857 (MumbleProto__ContextAction *message,
858 ProtobufCAllocator *allocator);
859 /* MumbleProto__UserList methods */
860 void mumble_proto__user_list__init
861 (MumbleProto__UserList *message);
862 size_t mumble_proto__user_list__get_packed_size
863 (const MumbleProto__UserList *message);
864 size_t mumble_proto__user_list__pack
865 (const MumbleProto__UserList *message,
867 size_t mumble_proto__user_list__pack_to_buffer
868 (const MumbleProto__UserList *message,
869 ProtobufCBuffer *buffer);
870 MumbleProto__UserList *
871 mumble_proto__user_list__unpack
872 (ProtobufCAllocator *allocator,
874 const uint8_t *data);
875 void mumble_proto__user_list__free_unpacked
876 (MumbleProto__UserList *message,
877 ProtobufCAllocator *allocator);
878 /* MumbleProto__VoiceTarget methods */
879 void mumble_proto__voice_target__init
880 (MumbleProto__VoiceTarget *message);
881 size_t mumble_proto__voice_target__get_packed_size
882 (const MumbleProto__VoiceTarget *message);
883 size_t mumble_proto__voice_target__pack
884 (const MumbleProto__VoiceTarget *message,
886 size_t mumble_proto__voice_target__pack_to_buffer
887 (const MumbleProto__VoiceTarget *message,
888 ProtobufCBuffer *buffer);
889 MumbleProto__VoiceTarget *
890 mumble_proto__voice_target__unpack
891 (ProtobufCAllocator *allocator,
893 const uint8_t *data);
894 void mumble_proto__voice_target__free_unpacked
895 (MumbleProto__VoiceTarget *message,
896 ProtobufCAllocator *allocator);
897 /* MumbleProto__PermissionQuery methods */
898 void mumble_proto__permission_query__init
899 (MumbleProto__PermissionQuery *message);
900 size_t mumble_proto__permission_query__get_packed_size
901 (const MumbleProto__PermissionQuery *message);
902 size_t mumble_proto__permission_query__pack
903 (const MumbleProto__PermissionQuery *message,
905 size_t mumble_proto__permission_query__pack_to_buffer
906 (const MumbleProto__PermissionQuery *message,
907 ProtobufCBuffer *buffer);
908 MumbleProto__PermissionQuery *
909 mumble_proto__permission_query__unpack
910 (ProtobufCAllocator *allocator,
912 const uint8_t *data);
913 void mumble_proto__permission_query__free_unpacked
914 (MumbleProto__PermissionQuery *message,
915 ProtobufCAllocator *allocator);
916 /* MumbleProto__CodecVersion methods */
917 void mumble_proto__codec_version__init
918 (MumbleProto__CodecVersion *message);
919 size_t mumble_proto__codec_version__get_packed_size
920 (const MumbleProto__CodecVersion *message);
921 size_t mumble_proto__codec_version__pack
922 (const MumbleProto__CodecVersion *message,
924 size_t mumble_proto__codec_version__pack_to_buffer
925 (const MumbleProto__CodecVersion *message,
926 ProtobufCBuffer *buffer);
927 MumbleProto__CodecVersion *
928 mumble_proto__codec_version__unpack
929 (ProtobufCAllocator *allocator,
931 const uint8_t *data);
932 void mumble_proto__codec_version__free_unpacked
933 (MumbleProto__CodecVersion *message,
934 ProtobufCAllocator *allocator);
935 /* --- per-message closures --- */
937 typedef void (*MumbleProto__Version_Closure)
938 (const MumbleProto__Version *message,
940 typedef void (*MumbleProto__UDPTunnel_Closure)
941 (const MumbleProto__UDPTunnel *message,
943 typedef void (*MumbleProto__Authenticate_Closure)
944 (const MumbleProto__Authenticate *message,
946 typedef void (*MumbleProto__Ping_Closure)
947 (const MumbleProto__Ping *message,
949 typedef void (*MumbleProto__Reject_Closure)
950 (const MumbleProto__Reject *message,
952 typedef void (*MumbleProto__ServerSync_Closure)
953 (const MumbleProto__ServerSync *message,
955 typedef void (*MumbleProto__ChannelRemove_Closure)
956 (const MumbleProto__ChannelRemove *message,
958 typedef void (*MumbleProto__ChannelState_Closure)
959 (const MumbleProto__ChannelState *message,
961 typedef void (*MumbleProto__UserRemove_Closure)
962 (const MumbleProto__UserRemove *message,
964 typedef void (*MumbleProto__UserState_Closure)
965 (const MumbleProto__UserState *message,
967 typedef void (*MumbleProto__BanList__BanEntry_Closure)
968 (const MumbleProto__BanList__BanEntry *message,
970 typedef void (*MumbleProto__BanList_Closure)
971 (const MumbleProto__BanList *message,
973 typedef void (*MumbleProto__TextMessage_Closure)
974 (const MumbleProto__TextMessage *message,
976 typedef void (*MumbleProto__PermissionDenied_Closure)
977 (const MumbleProto__PermissionDenied *message,
979 typedef void (*MumbleProto__ACL__ChanGroup_Closure)
980 (const MumbleProto__ACL__ChanGroup *message,
982 typedef void (*MumbleProto__ACL__ChanACL_Closure)
983 (const MumbleProto__ACL__ChanACL *message,
985 typedef void (*MumbleProto__ACL_Closure)
986 (const MumbleProto__ACL *message,
988 typedef void (*MumbleProto__QueryUsers_Closure)
989 (const MumbleProto__QueryUsers *message,
991 typedef void (*MumbleProto__CryptSetup_Closure)
992 (const MumbleProto__CryptSetup *message,
994 typedef void (*MumbleProto__ContextActionAdd_Closure)
995 (const MumbleProto__ContextActionAdd *message,
997 typedef void (*MumbleProto__ContextAction_Closure)
998 (const MumbleProto__ContextAction *message,
1000 typedef void (*MumbleProto__UserList__User_Closure)
1001 (const MumbleProto__UserList__User *message,
1002 void *closure_data);
1003 typedef void (*MumbleProto__UserList_Closure)
1004 (const MumbleProto__UserList *message,
1005 void *closure_data);
1006 typedef void (*MumbleProto__VoiceTarget__Target_Closure)
1007 (const MumbleProto__VoiceTarget__Target *message,
1008 void *closure_data);
1009 typedef void (*MumbleProto__VoiceTarget_Closure)
1010 (const MumbleProto__VoiceTarget *message,
1011 void *closure_data);
1012 typedef void (*MumbleProto__PermissionQuery_Closure)
1013 (const MumbleProto__PermissionQuery *message,
1014 void *closure_data);
1015 typedef void (*MumbleProto__CodecVersion_Closure)
1016 (const MumbleProto__CodecVersion *message,
1017 void *closure_data);
1019 /* --- services --- */
1022 /* --- descriptors --- */
1024 extern const ProtobufCMessageDescriptor mumble_proto__version__descriptor;
1025 extern const ProtobufCMessageDescriptor mumble_proto__udptunnel__descriptor;
1026 extern const ProtobufCMessageDescriptor mumble_proto__authenticate__descriptor;
1027 extern const ProtobufCMessageDescriptor mumble_proto__ping__descriptor;
1028 extern const ProtobufCMessageDescriptor mumble_proto__reject__descriptor;
1029 extern const ProtobufCEnumDescriptor mumble_proto__reject__reject_type__descriptor;
1030 extern const ProtobufCMessageDescriptor mumble_proto__server_sync__descriptor;
1031 extern const ProtobufCMessageDescriptor mumble_proto__channel_remove__descriptor;
1032 extern const ProtobufCMessageDescriptor mumble_proto__channel_state__descriptor;
1033 extern const ProtobufCMessageDescriptor mumble_proto__user_remove__descriptor;
1034 extern const ProtobufCMessageDescriptor mumble_proto__user_state__descriptor;
1035 extern const ProtobufCMessageDescriptor mumble_proto__ban_list__descriptor;
1036 extern const ProtobufCMessageDescriptor mumble_proto__ban_list__ban_entry__descriptor;
1037 extern const ProtobufCMessageDescriptor mumble_proto__text_message__descriptor;
1038 extern const ProtobufCMessageDescriptor mumble_proto__permission_denied__descriptor;
1039 extern const ProtobufCEnumDescriptor mumble_proto__permission_denied__deny_type__descriptor;
1040 extern const ProtobufCMessageDescriptor mumble_proto__acl__descriptor;
1041 extern const ProtobufCMessageDescriptor mumble_proto__acl__chan_group__descriptor;
1042 extern const ProtobufCMessageDescriptor mumble_proto__acl__chan_acl__descriptor;
1043 extern const ProtobufCMessageDescriptor mumble_proto__query_users__descriptor;
1044 extern const ProtobufCMessageDescriptor mumble_proto__crypt_setup__descriptor;
1045 extern const ProtobufCMessageDescriptor mumble_proto__context_action_add__descriptor;
1046 extern const ProtobufCEnumDescriptor mumble_proto__context_action_add__context__descriptor;
1047 extern const ProtobufCMessageDescriptor mumble_proto__context_action__descriptor;
1048 extern const ProtobufCMessageDescriptor mumble_proto__user_list__descriptor;
1049 extern const ProtobufCMessageDescriptor mumble_proto__user_list__user__descriptor;
1050 extern const ProtobufCMessageDescriptor mumble_proto__voice_target__descriptor;
1051 extern const ProtobufCMessageDescriptor mumble_proto__voice_target__target__descriptor;
1052 extern const ProtobufCMessageDescriptor mumble_proto__permission_query__descriptor;
1053 extern const ProtobufCMessageDescriptor mumble_proto__codec_version__descriptor;
1055 PROTOBUF_C_END_DECLS
1058 #endif /* PROTOBUF_Mumble_2eproto__INCLUDED */