Handling of subscription merge and inclusion of RMR lib from xapp-framework
[ric-plt/rtmgr.git] / pkg / sbi / nngpush.go
index 8438064..1404319 100644 (file)
 
 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"
@@ -38,9 +52,12 @@ import (
        "strconv"
 )
 
+
+
 type NngPush struct {
        Sbi
        NewSocket CreateNewNngSocketHandler
+        rcChan      chan *xapp.RMRParams
 }
 
 func NewNngPush() *NngPush {