Support for additional NR metrics
[ric-app/mc.git] / mc-core / mc / local_datasource / rrc_failure_information.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: rrc_failure_information.proto */
3
4 #ifndef PROTOBUF_C_rrc_5ffailure_5finformation_2eproto__INCLUDED
5 #define PROTOBUF_C_rrc_5ffailure_5finformation_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 1003002 < 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 #include "google/protobuf/wrappers.pb-c.h"
18
19 typedef struct _StreamingProtobufs__FailureInformation StreamingProtobufs__FailureInformation;
20 typedef struct _StreamingProtobufs__FailureInformationIEs StreamingProtobufs__FailureInformationIEs;
21 typedef struct _StreamingProtobufs__FailureInfoRLCBearer StreamingProtobufs__FailureInfoRLCBearer;
22
23
24 /* --- enums --- */
25
26 typedef enum _StreamingProtobufs__FailureInfoRLCBearer__FailureType {
27   STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE__protobuf_unspecified = 0,
28   STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE__duplication = 1
29     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE)
30 } StreamingProtobufs__FailureInfoRLCBearer__FailureType;
31
32 /* --- messages --- */
33
34 struct  _StreamingProtobufs__FailureInformation
35 {
36   ProtobufCMessage base;
37   StreamingProtobufs__FailureInformationIEs *failureinformation;
38 };
39 #define STREAMING_PROTOBUFS__FAILURE_INFORMATION__INIT \
40  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__failure_information__descriptor) \
41     , NULL }
42
43
44 struct  _StreamingProtobufs__FailureInformationIEs
45 {
46   ProtobufCMessage base;
47   StreamingProtobufs__FailureInfoRLCBearer *failureinforlc_bearer;
48   Google__Protobuf__BytesValue *latenoncriticalextension;
49 };
50 #define STREAMING_PROTOBUFS__FAILURE_INFORMATION__IES__INIT \
51  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__failure_information__ies__descriptor) \
52     , NULL, NULL }
53
54
55 struct  _StreamingProtobufs__FailureInfoRLCBearer
56 {
57   ProtobufCMessage base;
58   uint32_t cellgroupid;
59   uint32_t logicalchannelidentity;
60   StreamingProtobufs__FailureInfoRLCBearer__FailureType failuretype;
61 };
62 #define STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__INIT \
63  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__failure_info_rlc__bearer__descriptor) \
64     , 0, 0, STREAMING_PROTOBUFS__FAILURE_INFO_RLC__BEARER__FAILURE_TYPE__protobuf_unspecified }
65
66
67 /* StreamingProtobufs__FailureInformation methods */
68 void   streaming_protobufs__failure_information__init
69                      (StreamingProtobufs__FailureInformation         *message);
70 size_t streaming_protobufs__failure_information__get_packed_size
71                      (const StreamingProtobufs__FailureInformation   *message);
72 size_t streaming_protobufs__failure_information__pack
73                      (const StreamingProtobufs__FailureInformation   *message,
74                       uint8_t             *out);
75 size_t streaming_protobufs__failure_information__pack_to_buffer
76                      (const StreamingProtobufs__FailureInformation   *message,
77                       ProtobufCBuffer     *buffer);
78 StreamingProtobufs__FailureInformation *
79        streaming_protobufs__failure_information__unpack
80                      (ProtobufCAllocator  *allocator,
81                       size_t               len,
82                       const uint8_t       *data);
83 void   streaming_protobufs__failure_information__free_unpacked
84                      (StreamingProtobufs__FailureInformation *message,
85                       ProtobufCAllocator *allocator);
86 /* StreamingProtobufs__FailureInformationIEs methods */
87 void   streaming_protobufs__failure_information__ies__init
88                      (StreamingProtobufs__FailureInformationIEs         *message);
89 size_t streaming_protobufs__failure_information__ies__get_packed_size
90                      (const StreamingProtobufs__FailureInformationIEs   *message);
91 size_t streaming_protobufs__failure_information__ies__pack
92                      (const StreamingProtobufs__FailureInformationIEs   *message,
93                       uint8_t             *out);
94 size_t streaming_protobufs__failure_information__ies__pack_to_buffer
95                      (const StreamingProtobufs__FailureInformationIEs   *message,
96                       ProtobufCBuffer     *buffer);
97 StreamingProtobufs__FailureInformationIEs *
98        streaming_protobufs__failure_information__ies__unpack
99                      (ProtobufCAllocator  *allocator,
100                       size_t               len,
101                       const uint8_t       *data);
102 void   streaming_protobufs__failure_information__ies__free_unpacked
103                      (StreamingProtobufs__FailureInformationIEs *message,
104                       ProtobufCAllocator *allocator);
105 /* StreamingProtobufs__FailureInfoRLCBearer methods */
106 void   streaming_protobufs__failure_info_rlc__bearer__init
107                      (StreamingProtobufs__FailureInfoRLCBearer         *message);
108 size_t streaming_protobufs__failure_info_rlc__bearer__get_packed_size
109                      (const StreamingProtobufs__FailureInfoRLCBearer   *message);
110 size_t streaming_protobufs__failure_info_rlc__bearer__pack
111                      (const StreamingProtobufs__FailureInfoRLCBearer   *message,
112                       uint8_t             *out);
113 size_t streaming_protobufs__failure_info_rlc__bearer__pack_to_buffer
114                      (const StreamingProtobufs__FailureInfoRLCBearer   *message,
115                       ProtobufCBuffer     *buffer);
116 StreamingProtobufs__FailureInfoRLCBearer *
117        streaming_protobufs__failure_info_rlc__bearer__unpack
118                      (ProtobufCAllocator  *allocator,
119                       size_t               len,
120                       const uint8_t       *data);
121 void   streaming_protobufs__failure_info_rlc__bearer__free_unpacked
122                      (StreamingProtobufs__FailureInfoRLCBearer *message,
123                       ProtobufCAllocator *allocator);
124 /* --- per-message closures --- */
125
126 typedef void (*StreamingProtobufs__FailureInformation_Closure)
127                  (const StreamingProtobufs__FailureInformation *message,
128                   void *closure_data);
129 typedef void (*StreamingProtobufs__FailureInformationIEs_Closure)
130                  (const StreamingProtobufs__FailureInformationIEs *message,
131                   void *closure_data);
132 typedef void (*StreamingProtobufs__FailureInfoRLCBearer_Closure)
133                  (const StreamingProtobufs__FailureInfoRLCBearer *message,
134                   void *closure_data);
135
136 /* --- services --- */
137
138
139 /* --- descriptors --- */
140
141 extern const ProtobufCMessageDescriptor streaming_protobufs__failure_information__descriptor;
142 extern const ProtobufCMessageDescriptor streaming_protobufs__failure_information__ies__descriptor;
143 extern const ProtobufCMessageDescriptor streaming_protobufs__failure_info_rlc__bearer__descriptor;
144 extern const ProtobufCEnumDescriptor    streaming_protobufs__failure_info_rlc__bearer__failure_type__descriptor;
145
146 PROTOBUF_C__END_DECLS
147
148
149 #endif  /* PROTOBUF_C_rrc_5ffailure_5finformation_2eproto__INCLUDED */