Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / src / E2AP / e2ap_message_handler.hpp
diff --git a/e2sim/e2apv1sim/src/E2AP/e2ap_message_handler.hpp b/e2sim/e2apv1sim/src/E2AP/e2ap_message_handler.hpp
new file mode 100644 (file)
index 0000000..9dca085
--- /dev/null
@@ -0,0 +1,45 @@
+/*****************************************************************************\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_MESSAGE_HANDLER_HPP\r
+#define E2AP_MESSAGE_HANDLER_HPP\r
+\r
+#include "e2sim_sctp.hpp"\r
+\r
+extern "C" {\r
+  #include "e2sim_defs.h"\r
+  #include "e2ap_asn1c_codec.h"\r
+}\r
+\r
+void e2ap_handle_sctp_data(int &socket_fd, sctp_buffer_t &data, bool xmlenc);\r
+\r
+void e2ap_handle_X2SetupRequest(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_X2SetupResponse(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_ENDCX2SetupRequest(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_E2SetupRequest(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_RICSubscriptionRequest(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_RICSubscriptionRequest_securityDemo(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+void e2ap_handle_ResourceStatusRequest(E2AP_PDU_t* pdu, int &socket_fd);\r
+\r
+#endif\r