aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/ranap_common_cn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ranap_common_cn.h')
-rw-r--r--src/tests/ranap_common_cn.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/ranap_common_cn.h b/src/tests/ranap_common_cn.h
new file mode 100644
index 0000000..38d2384
--- /dev/null
+++ b/src/tests/ranap_common_cn.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <stdint.h>
+
+#include "ranap_common.h"
+#include "ranap_ies_defs.h"
+
+/* call-back functions to be provided by actual core network node */
+int cn_ranap_handle_co(void *ctx, ranap_message *message);
+int cn_ranap_handle_cl(void *ctx, ranap_message *message);
+
+
+/* receive a connections-liess RANAP message */
+int cn_ranap_rx_cl(void *ctx, uint8_t *data, size_t len);
+
+/* receive a connection-oriented RANAP message */
+int cn_ranap_rx_co(void *ctx, uint8_t *data, size_t len);