Adding new comments for Oran in all files with licenses
[ric-plt/e2mgr.git] / E2Manager / rmrCgo / rmrCgoTypes.go
index 441ed9f..3f8b189 100644 (file)
 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
-//
+
+//  This source code is part of the near-RT RIC (RAN Intelligent Controller)
+//  platform project (RICP).
+
 
 package rmrCgo
 
@@ -68,6 +71,9 @@ const (
        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 (
@@ -133,7 +139,7 @@ type Context struct {
 
 type RmrMessenger interface {
        Init(port string, maxMsgSize int, flags int, logger *logger.Logger) *RmrMessenger
-       SendMsg(msg *MBuf, maxMsgSize int) (*MBuf, error)
+       SendMsg(msg *MBuf) (*MBuf, error)
        RecvMsg() (*MBuf, error)
        RtsMsg(msg *MBuf)
        IsReady() bool