Add common enc/dec E1AP libs to e1ap_lib_common.c

* these functions are used in both interface management
  and bearer context management libraries
This commit is contained in:
Guido Casati
2025-02-09 22:48:54 +01:00
parent e9ff628844
commit 212fe8d2f3
4 changed files with 89 additions and 57 deletions
+5
View File
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <stdio.h>
#include "openair3/UTILS/conversions.h"
#include "e1ap_messages_types.h"
#ifdef ENABLE_TESTS
#define PRINT_ERROR(...) fprintf(stderr, ##__VA_ARGS__);
@@ -98,4 +99,8 @@
} \
} while (0)
struct E1AP_Cause;
struct E1AP_Cause e1_encode_cause_ie(const e1ap_cause_t *cause);
e1ap_cause_t e1_decode_cause_ie(const struct E1AP_Cause *ie);
#endif /* E1AP_LIB_COMMON_H_ */