[RIC-213] Add globalRicId to configuration and remove env var RIC_ID
[ric-plt/e2mgr.git] / E2Manager / e2pdus / x2_reset_known_causes.go
index df84a4b..c525561 100644 (file)
@@ -1,5 +1,4 @@
-/*******************************************************************************
- *
+/*
  *   Copyright (c) 2019 AT&T Intellectual Property.
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   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 e2pdus
 
-// #cgo CFLAGS: -I../asn1codec/inc/  -I../asn1codec/e2ap_engine/
-// #cgo LDFLAGS: -L ../asn1codec/lib/ -L../asn1codec/e2ap_engine/ -le2ap_codec -lasncodec
+// #cgo CFLAGS: -I../3rdparty/asn1codec/inc/  -I../3rdparty/asn1codec/e2ap_engine/
+// #cgo LDFLAGS: -L ../3rdparty/asn1codec/lib/ -L../3rdparty/asn1codec/e2ap_engine/ -le2ap_codec -lasncodec
 // #include <x2reset_request_wrapper.h>
 import "C"
 import (
@@ -27,10 +31,10 @@ import (
        "unsafe"
 )
 
-//TODO: replace the constant in setup_request_handler.go
 const (
        MaxAsn1PackedBufferSize       = 4096
        MaxAsn1CodecMessageBufferSize = 4096
+       MaxAsn1CodecAllocationBufferSize = 4096 // TODO: remove later
 )
 
 // Used as default by the x2_reset_request