Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Handling of subscription merge and inclusion of RMR lib from xapp-framework
[ric-plt/rtmgr.git]
/
pkg
/
sbi
/
nngpush.go
diff --git
a/pkg/sbi/nngpush.go
b/pkg/sbi/nngpush.go
index
8438064
..
1404319
100644
(file)
--- a/
pkg/sbi/nngpush.go
+++ b/
pkg/sbi/nngpush.go
@@
-28,6
+28,20
@@
package sbi
package sbi
+/*
+#include <time.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <rmr/rmr.h>
+#include <rmr/RIC_message_types.h>
+
+
+#cgo CFLAGS: -I../
+#cgo LDFLAGS: -lrmr_nng -lnng
+*/
+import "C"
+
import (
"errors"
"gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
import (
"errors"
"gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp"
@@
-38,9
+52,12
@@
import (
"strconv"
)
"strconv"
)
+
+
type NngPush struct {
Sbi
NewSocket CreateNewNngSocketHandler
type NngPush struct {
Sbi
NewSocket CreateNewNngSocketHandler
+ rcChan chan *xapp.RMRParams
}
func NewNngPush() *NngPush {
}
func NewNngPush() *NngPush {