Reorganize directories and switch libaries to using asn1c
[it/test.git] / simulators / e2sim / src / E2AP / E2SM / e2sm.h
similarity index 77%
rename from simulators/e2sim/src/E2AP/e2ap_asn_codec.hpp
rename to simulators/e2sim/src/E2AP/E2SM/e2sm.h
index 6fd6170..19f30a2 100644 (file)
@@ -1,34 +1,30 @@
-/*****************************************************************************\r
-#                                                                            *\r
-# Copyright 2019 AT&T Intellectual Property                                  *\r
-# Copyright 2019 Nokia                                                       *\r
-#                                                                            *\r
-# Licensed under the Apache License, Version 2.0 (the "License");            *\r
-# you may not use this file except in compliance with the License.           *\r
-# You may obtain a copy of the License at                                    *\r
-#                                                                            *\r
-#      http://www.apache.org/licenses/LICENSE-2.0                            *\r
-#                                                                            *\r
-# Unless required by applicable law or agreed to in writing, software        *\r
-# distributed under the License is distributed on an "AS IS" BASIS,          *\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   *\r
-# See the License for the specific language governing permissions and        *\r
-# limitations under the License.                                             *\r
-#                                                                            *\r
-******************************************************************************/\r
-#ifndef E2AP_ASN_CODEC_HPP\r
-#define E2AP_ASN_CODEC_HPP\r
-\r
-#include "e2sim_defs.h"\r
-#include "asn_e2ap.hpp"\r
-\r
-#define ERROR_MESSAGE_BUFFER 1024\r
-#define PDU_PRINT_BUFFER     4096\r
-\r
-void e2ap_encode_pdu(e2ap_pdu_t* pdu, unsigned char* buf, int buf_size, int &encoded_size);\r
-\r
-void e2ap_decode_pdu(e2ap_pdu_t* pdu, unsigned char* buf, int &encoded_size);\r
-\r
-void e2ap_print_pdu(e2ap_pdu_t* pdu);\r
-\r
-#endif\r
+/*****************************************************************************
+#                                                                            *
+# Copyright 2019 AT&T Intellectual Property                                  *
+# Copyright 2019 Nokia                                                       *
+#                                                                            *
+# Licensed under the Apache License, Version 2.0 (the "License");            *
+# you may not use this file except in compliance with the License.           *
+# You may obtain a copy of the License at                                    *
+#                                                                            *
+#      http://www.apache.org/licenses/LICENSE-2.0                            *
+#                                                                            *
+# Unless required by applicable law or agreed to in writing, software        *
+# distributed under the License is distributed on an "AS IS" BASIS,          *
+# 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.                                             *
+#                                                                            *
+******************************************************************************/
+#ifndef E2SM_H
+#define E2SM_H
+
+#include "E2SM-gNB-X2-eventTriggerDefinition.h"
+#include "E2AP-PDU.h"
+#include "e2ap_asn1c_codec.h"
+
+E2SM_gNB_X2_eventTriggerDefinition_t* create_eventTriggerDefinition(void);
+
+void test_eventTriggerDefinition(void);
+
+#endif