Bump up mc-core image release tag
[ric-app/mc.git] / mc-core / mc / local_datasource / ricgeomessages.pb-c.h
1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: ricgeomessages.proto */
3
4 #ifndef PROTOBUF_C_ricgeomessages_2eproto__INCLUDED
5 #define PROTOBUF_C_ricgeomessages_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 "ricgeomessages_pcmdreport.pb-c.h"
18
19 typedef struct _GeoHdr GeoHdr;
20 typedef struct _GeoMsg GeoMsg;
21
22
23 /* --- enums --- */
24
25 typedef enum _GeoMsg__Types {
26   GEO_MSG__TYPES__PCMDREPORT = 0
27     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(GEO_MSG__TYPES)
28 } GeoMsg__Types;
29
30 /* --- messages --- */
31
32 struct  _GeoHdr
33 {
34   ProtobufCMessage base;
35   uint64_t sequencenumber;
36   uint64_t timestamp;
37   uint32_t eci;
38   uint32_t plmn;
39   uint64_t eutrantraceid;
40   uint32_t crnti;
41 };
42 #define GEO_HDR__INIT \
43  { PROTOBUF_C_MESSAGE_INIT (&geo_hdr__descriptor) \
44     , 0, 0, 0, 0, 0, 0 }
45
46
47 typedef enum {
48   GEO_MSG__GEO_MSG_ONEOF__NOT_SET = 0,
49   GEO_MSG__GEO_MSG_ONEOF_REPORT = 2
50     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(GEO_MSG__GEO_MSG_ONEOF)
51 } GeoMsg__GeoMsgOneofCase;
52
53 struct  _GeoMsg
54 {
55   ProtobufCMessage base;
56   GeoMsg__Types type;
57   GeoHdr *hdr;
58   GeoMsg__GeoMsgOneofCase geo_msg_oneof_case;
59   union {
60     PcmdReport *report;
61   };
62 };
63 #define GEO_MSG__INIT \
64  { PROTOBUF_C_MESSAGE_INIT (&geo_msg__descriptor) \
65     , GEO_MSG__TYPES__PCMDREPORT, NULL, GEO_MSG__GEO_MSG_ONEOF__NOT_SET, {0} }
66
67
68 /* GeoHdr methods */
69 void   geo_hdr__init
70                      (GeoHdr         *message);
71 size_t geo_hdr__get_packed_size
72                      (const GeoHdr   *message);
73 size_t geo_hdr__pack
74                      (const GeoHdr   *message,
75                       uint8_t             *out);
76 size_t geo_hdr__pack_to_buffer
77                      (const GeoHdr   *message,
78                       ProtobufCBuffer     *buffer);
79 GeoHdr *
80        geo_hdr__unpack
81                      (ProtobufCAllocator  *allocator,
82                       size_t               len,
83                       const uint8_t       *data);
84 void   geo_hdr__free_unpacked
85                      (GeoHdr *message,
86                       ProtobufCAllocator *allocator);
87 /* GeoMsg methods */
88 void   geo_msg__init
89                      (GeoMsg         *message);
90 size_t geo_msg__get_packed_size
91                      (const GeoMsg   *message);
92 size_t geo_msg__pack
93                      (const GeoMsg   *message,
94                       uint8_t             *out);
95 size_t geo_msg__pack_to_buffer
96                      (const GeoMsg   *message,
97                       ProtobufCBuffer     *buffer);
98 GeoMsg *
99        geo_msg__unpack
100                      (ProtobufCAllocator  *allocator,
101                       size_t               len,
102                       const uint8_t       *data);
103 void   geo_msg__free_unpacked
104                      (GeoMsg *message,
105                       ProtobufCAllocator *allocator);
106 /* --- per-message closures --- */
107
108 typedef void (*GeoHdr_Closure)
109                  (const GeoHdr *message,
110                   void *closure_data);
111 typedef void (*GeoMsg_Closure)
112                  (const GeoMsg *message,
113                   void *closure_data);
114
115 /* --- services --- */
116
117
118 /* --- descriptors --- */
119
120 extern const ProtobufCMessageDescriptor geo_hdr__descriptor;
121 extern const ProtobufCMessageDescriptor geo_msg__descriptor;
122 extern const ProtobufCEnumDescriptor    geo_msg__types__descriptor;
123
124 PROTOBUF_C__END_DECLS
125
126
127 #endif  /* PROTOBUF_C_ricgeomessages_2eproto__INCLUDED */