RICPLT-2910
libe2ap library updated and moved to 3rdparty directory
e2ap_wrapper library to be used from go:
- message wrappers (used now only in tests)
- function wrappers that manipulates message
Go wrappers for messages
Initial unittest implementation.
Change-Id: Ie77cc2ae90b83b12e5c738e6f570fe4661961da6
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
diff --git a/3rdparty/libe2ap/E2AP-PDU.h b/3rdparty/libe2ap/E2AP-PDU.h
new file mode 100644
index 0000000..7592b16
--- /dev/null
+++ b/3rdparty/libe2ap/E2AP-PDU.h
@@ -0,0 +1,59 @@
+/*
+ * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
+ * From ASN.1 module "E2AP-PDU-Descriptions"
+ * found in "Spec/e2_and_x2-combined-and-minimized.asn1"
+ * `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
+ */
+
+#ifndef _E2AP_PDU_H_
+#define _E2AP_PDU_H_
+
+
+#include "asn_application.h"
+
+/* Including external dependencies */
+#include "RICInitiatingMessage.h"
+#include "RICSuccessfulOutcome.h"
+#include "RICUnsuccessfulOutcome.h"
+#include "constr_CHOICE.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Dependencies */
+typedef enum E2AP_PDU_PR {
+ E2AP_PDU_PR_NOTHING, /* No components present */
+ E2AP_PDU_PR_initiatingMessage,
+ E2AP_PDU_PR_successfulOutcome,
+ E2AP_PDU_PR_unsuccessfulOutcome
+ /* Extensions may appear below */
+
+} E2AP_PDU_PR;
+
+/* E2AP-PDU */
+typedef struct E2AP_PDU {
+ E2AP_PDU_PR present;
+ union E2AP_PDU_u {
+ RICInitiatingMessage_t initiatingMessage;
+ RICSuccessfulOutcome_t successfulOutcome;
+ RICUnsuccessfulOutcome_t unsuccessfulOutcome;
+ /*
+ * This type is extensible,
+ * possible extensions are below.
+ */
+ } choice;
+
+ /* Context for parsing across buffer boundaries */
+ asn_struct_ctx_t _asn_ctx;
+} E2AP_PDU_t;
+
+/* Implementation */
+extern asn_TYPE_descriptor_t asn_DEF_E2AP_PDU;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _E2AP_PDU_H_ */
+#include "asn_internal.h"