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
/
SgNB_ack_for_ue_beam_csi.h
diff --git
a/mc-core/mc/local/SgNB_ack_for_ue_beam_csi.h
b/mc-core/mc/local/SgNB_ack_for_ue_beam_csi.h
index
3ad3123
..
2c03fa1
100644
(file)
--- a/
mc-core/mc/local/SgNB_ack_for_ue_beam_csi.h
+++ b/
mc-core/mc/local/SgNB_ack_for_ue_beam_csi.h
@@
-23,6
+23,9
@@
#include "packet.h"
#include "packet.h"
+
+#include "/usr/local/include/protobuf-c/protobuf-c.h"
+
struct _SgNB_ack_for_ue_beam_csi {
gs_uint64_t timestamp_ms;
gs_sp_t gnb_id;
struct _SgNB_ack_for_ue_beam_csi {
gs_uint64_t timestamp_ms;
gs_sp_t gnb_id;
@@
-59,10
+62,13
@@
static inline gs_retval_t get_SgNB_ack_for_ue_beam_csi__timestamp_ms(struct pack
}
static inline gs_retval_t get_SgNB_ack_for_ue_beam_csi__gnb_id(struct packet *p, struct gs_string *t){
}
static inline gs_retval_t get_SgNB_ack_for_ue_beam_csi__gnb_id(struct packet *p, struct gs_string *t){
-t->data = ((struct _SgNB_ack_for_ue_beam_csi *)(p->record.packed.values))->gnb_id;
- t->length = strlen(t->data);
t->owner=0;
t->owner=0;
- return 0;
+ t->data = ((struct _SgNB_ack_for_ue_beam_csi *)(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_SgNB_ack_for_ue_beam_csi__id_MeNB_UE_X2AP_ID(struct packet *p, gs_int64_t *t){
}
static inline gs_retval_t get_SgNB_ack_for_ue_beam_csi__id_MeNB_UE_X2AP_ID(struct packet *p, gs_int64_t *t){