constants.pb-c.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* Generated by the protocol buffer compiler. DO NOT EDIT! */
  2. /* Generated from: constants.proto */
  3. #ifndef PROTOBUF_C_constants_2eproto__INCLUDED
  4. #define PROTOBUF_C_constants_2eproto__INCLUDED
  5. #include <protobuf-c/protobuf-c.h>
  6. PROTOBUF_C__BEGIN_DECLS
  7. #if PROTOBUF_C_VERSION_NUMBER < 1003000
  8. # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
  9. #elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
  10. # 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.
  11. #endif
  12. /* --- enums --- */
  13. /*
  14. * Allowed values for the status
  15. * of a protocomm instance
  16. */
  17. typedef enum _Status {
  18. STATUS__Success = 0,
  19. STATUS__InvalidSecScheme = 1,
  20. STATUS__InvalidProto = 2,
  21. STATUS__TooManySessions = 3,
  22. STATUS__InvalidArgument = 4,
  23. STATUS__InternalError = 5,
  24. STATUS__CryptoError = 6,
  25. STATUS__InvalidSession = 7
  26. PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STATUS)
  27. } Status;
  28. /* --- messages --- */
  29. /* --- per-message closures --- */
  30. /* --- services --- */
  31. /* --- descriptors --- */
  32. extern const ProtobufCEnumDescriptor status__descriptor;
  33. PROTOBUF_C__END_DECLS
  34. #endif /* PROTOBUF_C_constants_2eproto__INCLUDED */