X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2FrmrCgo%2FrmrCgoTypes.go;h=1fe6032d7cd383ffc4258f8c00527910aebaabf5;hb=1724b6d2bf37ae07552f9aecc3e86a860efd6ac3;hp=e37b97b51105a0487657816114cc3295eaf1cbcb;hpb=966f2102168cad95b8aa1bc83241b4b6730ab1e2;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/rmrCgo/rmrCgoTypes.go b/E2Manager/rmrCgo/rmrCgoTypes.go index e37b97b..1fe6032 100644 --- a/E2Manager/rmrCgo/rmrCgoTypes.go +++ b/E2Manager/rmrCgo/rmrCgoTypes.go @@ -67,6 +67,10 @@ const ( RIC_SCTP_CLEAR_ALL = C.RIC_SCTP_CLEAR_ALL RIC_X2_RESET_RESP = C.RIC_X2_RESET_RESP RIC_X2_RESET = C.RIC_X2_RESET + RIC_E2_TERM_INIT = C.E2_TERM_INIT + RAN_CONNECTED = C.RAN_CONNECTED + RAN_RESTARTED = C.RAN_RESTARTED + RAN_RECONFIGURED = C.RAN_RECONFIGURED ) const ( @@ -131,10 +135,9 @@ type Context struct { } type RmrMessenger interface { - Init(port string, maxMsgSize int, flags int, logger *logger.Logger) *RmrMessenger - SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error) + Init(port string, maxMsgSize int, flags int, logger *logger.Logger) RmrMessenger + SendMsg(msg *MBuf) (*MBuf, error) RecvMsg() (*MBuf, error) - RtsMsg(msg *MBuf) IsReady() bool Close() }