X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=pkg%2Fsbi%2Fnngpush.go;h=140431961eef58851df3499545660bd80c1a8707;hb=cd7867c8f527f46fd8702b0b8d6b380a8e134bea;hp=843806452050cb7e8340233fa38f5c69055056ba;hpb=a8596ec6db91b8a45a1a21421a726b9b05ce7d48;p=ric-plt%2Frtmgr.git diff --git a/pkg/sbi/nngpush.go b/pkg/sbi/nngpush.go index 8438064..1404319 100644 --- a/pkg/sbi/nngpush.go +++ b/pkg/sbi/nngpush.go @@ -28,6 +28,20 @@ package sbi +/* +#include +#include +#include +#include +#include +#include + + +#cgo CFLAGS: -I../ +#cgo LDFLAGS: -lrmr_nng -lnng +*/ +import "C" + import ( "errors" "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp" @@ -38,9 +52,12 @@ import ( "strconv" ) + + type NngPush struct { Sbi NewSocket CreateNewNngSocketHandler + rcChan chan *xapp.RMRParams } func NewNngPush() *NngPush {