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