Update to use Protobuf-C 1.0.0. This change required regenerated Mumble.pb-c.[h|c...
[umurmur.git] / src / Mumble.pb-c.h
index 9f2a51681577fd39364fd516440d713ddf45d845..579f5d918536e03fbdc0c5af11a72acd049aba69 100644 (file)
@@ -1,11 +1,18 @@
 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
+/* Generated from: Mumble.proto */
 
 #ifndef PROTOBUF_C_Mumble_2eproto__INCLUDED
 #define PROTOBUF_C_Mumble_2eproto__INCLUDED
 
-#include <google/protobuf-c/protobuf-c.h>
+#include <protobuf-c/protobuf-c.h>
 
-PROTOBUF_C_BEGIN_DECLS
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1000000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1000000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
 
 
 typedef struct _MumbleProto__Version MumbleProto__Version;
@@ -53,6 +60,7 @@ typedef enum _MumbleProto__Reject__RejectType {
   MUMBLE_PROTO__REJECT__REJECT_TYPE__UsernameInUse = 5,
   MUMBLE_PROTO__REJECT__REJECT_TYPE__ServerFull = 6,
   MUMBLE_PROTO__REJECT__REJECT_TYPE__NoCertificate = 7
+    PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MUMBLE_PROTO__REJECT__REJECT_TYPE)
 } MumbleProto__Reject__RejectType;
 typedef enum _MumbleProto__PermissionDenied__DenyType {
   MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__Text = 0,
@@ -66,15 +74,18 @@ typedef enum _MumbleProto__PermissionDenied__DenyType {
   MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__UserName = 8,
   MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__ChannelFull = 9,
   MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE__NestingLimit = 10
+    PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MUMBLE_PROTO__PERMISSION_DENIED__DENY_TYPE)
 } MumbleProto__PermissionDenied__DenyType;
 typedef enum _MumbleProto__ContextActionModify__Context {
   MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__CONTEXT__Server = 1,
   MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__CONTEXT__Channel = 2,
   MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__CONTEXT__User = 4
+    PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__CONTEXT)
 } MumbleProto__ContextActionModify__Context;
 typedef enum _MumbleProto__ContextActionModify__Operation {
   MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__OPERATION__Add = 0,
   MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__OPERATION__Remove = 1
+    PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(MUMBLE_PROTO__CONTEXT_ACTION_MODIFY__OPERATION)
 } MumbleProto__ContextActionModify__Operation;
 
 /* --- messages --- */
@@ -1304,7 +1315,7 @@ extern const ProtobufCMessageDescriptor mumble_proto__user_stats__stats__descrip
 extern const ProtobufCMessageDescriptor mumble_proto__suggest_config__descriptor;
 extern const ProtobufCMessageDescriptor mumble_proto__request_blob__descriptor;
 
-PROTOBUF_C_END_DECLS
+PROTOBUF_C__END_DECLS
 
 
-#endif  /* PROTOBUF_Mumble_2eproto__INCLUDED */
+#endif  /* PROTOBUF_C_Mumble_2eproto__INCLUDED */