Code Review
/
ric-app
/
mc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Correct unit test invocation in cmake file
[ric-app/mc.git]
/
mc-core
/
mc
/
local
/
reconfig_all.h
diff --git
a/mc-core/mc/local/reconfig_all.h
b/mc-core/mc/local/reconfig_all.h
index
09fc01e
..
3cf8dec
100644
(file)
--- a/
mc-core/mc/local/reconfig_all.h
+++ b/
mc-core/mc/local/reconfig_all.h
@@
-23,6
+23,9
@@
#include "packet.h"
#include "packet.h"
+
+#include "/usr/local/include/protobuf-c/protobuf-c.h"
+
struct _reconfig_all {
gs_uint64_t timestamp_ms;
gs_sp_t gnb_id;
struct _reconfig_all {
gs_uint64_t timestamp_ms;
gs_sp_t gnb_id;
@@
-40,10
+43,13
@@
static inline gs_retval_t get_reconfig_all__timestamp_ms(struct packet *p, gs_ui
}
static inline gs_retval_t get_reconfig_all__gnb_id(struct packet *p, struct gs_string *t){
}
static inline gs_retval_t get_reconfig_all__gnb_id(struct packet *p, struct gs_string *t){
-t->data = ((struct _reconfig_all *)(p->record.packed.values))->gnb_id;
- t->length = strlen(t->data);
t->owner=0;
t->owner=0;
- return 0;
+ t->data = ((struct _reconfig_all *)(p->record.packed.values))->gnb_id;
+ if( t->data == NULL){
+ t->length=0;
+ return 0;
+ }
+ t->length = strlen(t->data);
}
static inline gs_retval_t get_reconfig_all__id_MeNB_UE_X2AP_ID(struct packet *p, gs_int64_t *t){
}
static inline gs_retval_t get_reconfig_all__id_MeNB_UE_X2AP_ID(struct packet *p, gs_int64_t *t){