constants.pb-c.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* Generated by the protocol buffer compiler. DO NOT EDIT! */
  2. /* Generated from: constants.proto */
  3. /* Do not generate deprecated warnings for self */
  4. #ifndef PROTOBUF_C__NO_DEPRECATED
  5. #define PROTOBUF_C__NO_DEPRECATED
  6. #endif
  7. #include "constants.pb-c.h"
  8. static const ProtobufCEnumValue status__enum_values_by_number[8] = {
  9. { "Success", "STATUS__Success", 0 },
  10. { "InvalidSecScheme", "STATUS__InvalidSecScheme", 1 },
  11. { "InvalidProto", "STATUS__InvalidProto", 2 },
  12. { "TooManySessions", "STATUS__TooManySessions", 3 },
  13. { "InvalidArgument", "STATUS__InvalidArgument", 4 },
  14. { "InternalError", "STATUS__InternalError", 5 },
  15. { "CryptoError", "STATUS__CryptoError", 6 },
  16. { "InvalidSession", "STATUS__InvalidSession", 7 },
  17. };
  18. static const ProtobufCIntRange status__value_ranges[] = {
  19. {0, 0}, {0, 8}
  20. };
  21. static const ProtobufCEnumValueIndex status__enum_values_by_name[8] = {
  22. { "CryptoError", 6 },
  23. { "InternalError", 5 },
  24. { "InvalidArgument", 4 },
  25. { "InvalidProto", 2 },
  26. { "InvalidSecScheme", 1 },
  27. { "InvalidSession", 7 },
  28. { "Success", 0 },
  29. { "TooManySessions", 3 },
  30. };
  31. const ProtobufCEnumDescriptor status__descriptor = {
  32. PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  33. "Status",
  34. "Status",
  35. "Status",
  36. "",
  37. 8,
  38. status__enum_values_by_number,
  39. 8,
  40. status__enum_values_by_name,
  41. 1,
  42. status__value_ranges,
  43. NULL, NULL, NULL, NULL /* reserved[1234] */
  44. };