Change RMR version to 4.0.5, start listener in background mode at container startup
[ric-app/mc.git] / mc-core / mc / local_datasource / x2ap_streaming.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: x2ap_streaming.proto */
3
4 #ifndef PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED
5 #define PROTOBUF_C_x2ap_5fstreaming_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 #include "rrctransfer.pb-c.h"
19 #include "sgnb_addition_request.pb-c.h"
20 #include "sgnb_addition_request_acknowledge.pb-c.h"
21 #include "sgnb_addition_request_reject.pb-c.h"
22 #include "sgnb_modification_request.pb-c.h"
23 #include "sgnb_modification_request_acknowledge.pb-c.h"
24 #include "sgnb_modification_request_reject.pb-c.h"
25 #include "sgnb_modification_required.pb-c.h"
26 #include "sgnb_modification_confirm.pb-c.h"
27 #include "sgnb_modification_refuse.pb-c.h"
28 #include "sgnb_release_request.pb-c.h"
29 #include "sgnb_release_request_acknowledge.pb-c.h"
30 #include "sgnb_release_required.pb-c.h"
31 #include "sgnb_release_confirm.pb-c.h"
32 #include "sgnb_reconfiguration_complete.pb-c.h"
33 #include "sn_status_transfer.pb-c.h"
34 #include "ue_context_release.pb-c.h"
35 #include "secondary_rat_data_usage_report.pb-c.h"
36 #include "sgnb_change_required.pb-c.h"
37 #include "sgnb_change_confirm.pb-c.h"
38 #include "sgnb_change_refuse.pb-c.h"
39 #include "sgnb_activity_notification.pb-c.h"
40 #include "gnb_status_indication.pb-c.h"
41
42 typedef struct _StreamingProtobufs__X2APStreaming StreamingProtobufs__X2APStreaming;
43 typedef struct _StreamingProtobufs__X2APStreamingHeader StreamingProtobufs__X2APStreamingHeader;
44
45
46 /* --- enums --- */
47
48
49 /* --- messages --- */
50
51 typedef enum {
52   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET = 0,
53   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_RRC_TRANSFER = 2,
54   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST = 3,
55   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_ACKNOWLEDGE = 4,
56   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_REJECT = 5,
57   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST = 6,
58   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_ACKNOWLEDGE = 7,
59   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_REJECT = 8,
60   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUIRED = 9,
61   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_CONFIRM = 10,
62   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REFUSE = 11,
63   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBRECONFIGURATION_COMPLETE = 12,
64   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST = 13,
65   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST_ACKNOWLEDGE = 14,
66   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUIRED = 15,
67   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_CONFIRM = 16,
68   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SN_STATUS_TRANSFER = 17,
69   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_UE_CONTEXT_RELEASE = 18,
70   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SECONDARY_RATDATA_USAGE_REPORT = 19,
71   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBCHANGE_REQUIRED = 20,
72   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBCHANGE_CONFIRM = 21,
73   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBCHANGE_REFUSE = 22,
74   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_SG_NBACTIVITY_NOTIFICATION = 23,
75   STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE_G_NBSTATUS_INDICATION = 24
76     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE)
77 } StreamingProtobufs__X2APStreaming__X2apMessageCase;
78
79 struct  _StreamingProtobufs__X2APStreaming
80 {
81   ProtobufCMessage base;
82   StreamingProtobufs__X2APStreamingHeader *header;
83   StreamingProtobufs__X2APStreaming__X2apMessageCase x2ap_message_case;
84   union {
85     StreamingProtobufs__RRCTransfer *rrctransfer;
86     StreamingProtobufs__SgNBAdditionRequest *sgnbadditionrequest;
87     StreamingProtobufs__SgNBAdditionRequestAcknowledge *sgnbadditionrequestacknowledge;
88     StreamingProtobufs__SgNBAdditionRequestReject *sgnbadditionrequestreject;
89     StreamingProtobufs__SgNBModificationRequest *sgnbmodificationrequest;
90     StreamingProtobufs__SgNBModificationRequestAcknowledge *sgnbmodificationrequestacknowledge;
91     StreamingProtobufs__SgNBModificationRequestReject *sgnbmodificationrequestreject;
92     StreamingProtobufs__SgNBModificationRequired *sgnbmodificationrequired;
93     StreamingProtobufs__SgNBModificationConfirm *sgnbmodificationconfirm;
94     StreamingProtobufs__SgNBModificationRefuse *sgnbmodificationrefuse;
95     StreamingProtobufs__SgNBReconfigurationComplete *sgnbreconfigurationcomplete;
96     StreamingProtobufs__SgNBReleaseRequest *sgnbreleaserequest;
97     StreamingProtobufs__SgNBReleaseRequestAcknowledge *sgnbreleaserequestacknowledge;
98     StreamingProtobufs__SgNBReleaseRequired *sgnbreleaserequired;
99     StreamingProtobufs__SgNBReleaseConfirm *sgnbreleaseconfirm;
100     StreamingProtobufs__SNStatusTransfer *snstatustransfer;
101     StreamingProtobufs__UEContextRelease *uecontextrelease;
102     StreamingProtobufs__SecondaryRATDataUsageReport *secondaryratdatausagereport;
103     StreamingProtobufs__SgNBChangeRequired *sgnbchangerequired;
104     StreamingProtobufs__SgNBChangeConfirm *sgnbchangeconfirm;
105     StreamingProtobufs__SgNBChangeRefuse *sgnbchangerefuse;
106     StreamingProtobufs__SgNBActivityNotification *sgnbactivitynotification;
107     StreamingProtobufs__GNBStatusIndication *gnbstatusindication;
108   };
109 };
110 #define STREAMING_PROTOBUFS__X2_APSTREAMING__INIT \
111  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__x2_apstreaming__descriptor) \
112     , NULL, STREAMING_PROTOBUFS__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET, {0} }
113
114
115 struct  _StreamingProtobufs__X2APStreamingHeader
116 {
117   ProtobufCMessage base;
118   /*
119    *The revision number of X2AP streaming protobuf files
120    */
121   char *protobuf_revision;
122   /*
123    *Identifier of gNodeB
124    */
125   Google__Protobuf__StringValue *gnbid;
126   /*
127    *The timestamp of RIC INDICATION header, which contains 64-bit
128    *timestamp value as defined in section 6 of IETF RFC 5905.
129    */
130   uint64_t timestamp;
131 };
132 #define STREAMING_PROTOBUFS__X2_APSTREAMING_HEADER__INIT \
133  { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__x2_apstreaming_header__descriptor) \
134     , (char *)protobuf_c_empty_string, NULL, 0 }
135
136
137 /* StreamingProtobufs__X2APStreaming methods */
138 void   streaming_protobufs__x2_apstreaming__init
139                      (StreamingProtobufs__X2APStreaming         *message);
140 size_t streaming_protobufs__x2_apstreaming__get_packed_size
141                      (const StreamingProtobufs__X2APStreaming   *message);
142 size_t streaming_protobufs__x2_apstreaming__pack
143                      (const StreamingProtobufs__X2APStreaming   *message,
144                       uint8_t             *out);
145 size_t streaming_protobufs__x2_apstreaming__pack_to_buffer
146                      (const StreamingProtobufs__X2APStreaming   *message,
147                       ProtobufCBuffer     *buffer);
148 StreamingProtobufs__X2APStreaming *
149        streaming_protobufs__x2_apstreaming__unpack
150                      (ProtobufCAllocator  *allocator,
151                       size_t               len,
152                       const uint8_t       *data);
153 void   streaming_protobufs__x2_apstreaming__free_unpacked
154                      (StreamingProtobufs__X2APStreaming *message,
155                       ProtobufCAllocator *allocator);
156 /* StreamingProtobufs__X2APStreamingHeader methods */
157 void   streaming_protobufs__x2_apstreaming_header__init
158                      (StreamingProtobufs__X2APStreamingHeader         *message);
159 size_t streaming_protobufs__x2_apstreaming_header__get_packed_size
160                      (const StreamingProtobufs__X2APStreamingHeader   *message);
161 size_t streaming_protobufs__x2_apstreaming_header__pack
162                      (const StreamingProtobufs__X2APStreamingHeader   *message,
163                       uint8_t             *out);
164 size_t streaming_protobufs__x2_apstreaming_header__pack_to_buffer
165                      (const StreamingProtobufs__X2APStreamingHeader   *message,
166                       ProtobufCBuffer     *buffer);
167 StreamingProtobufs__X2APStreamingHeader *
168        streaming_protobufs__x2_apstreaming_header__unpack
169                      (ProtobufCAllocator  *allocator,
170                       size_t               len,
171                       const uint8_t       *data);
172 void   streaming_protobufs__x2_apstreaming_header__free_unpacked
173                      (StreamingProtobufs__X2APStreamingHeader *message,
174                       ProtobufCAllocator *allocator);
175 /* --- per-message closures --- */
176
177 typedef void (*StreamingProtobufs__X2APStreaming_Closure)
178                  (const StreamingProtobufs__X2APStreaming *message,
179                   void *closure_data);
180 typedef void (*StreamingProtobufs__X2APStreamingHeader_Closure)
181                  (const StreamingProtobufs__X2APStreamingHeader *message,
182                   void *closure_data);
183
184 /* --- services --- */
185
186
187 /* --- descriptors --- */
188
189 extern const ProtobufCMessageDescriptor streaming_protobufs__x2_apstreaming__descriptor;
190 extern const ProtobufCMessageDescriptor streaming_protobufs__x2_apstreaming_header__descriptor;
191
192 PROTOBUF_C__END_DECLS
193
194
195 #endif  /* PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED */