open5gs/src/mme/s1ap_conv.h

31 lines
851 B
C
Raw Normal View History

2017-03-05 14:36:17 +00:00
#ifndef __S1AP_CONV_H__
#define __S1AP_CONV_H__
2017-02-15 11:16:50 +00:00
#include "s1ap_message.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
2017-03-05 02:29:15 +00:00
CORE_DECLARE(void) s1ap_uint8_to_OCTET_STRING(
c_uint8_t uint8, OCTET_STRING_t *octet_string);
2017-03-05 02:29:15 +00:00
CORE_DECLARE(void) s1ap_uint16_to_OCTET_STRING(
c_uint16_t uint16, OCTET_STRING_t *octet_string);
2017-03-05 02:29:15 +00:00
CORE_DECLARE(void) s1ap_uint32_to_OCTET_STRING(
c_uint32_t uint32, OCTET_STRING_t *octet_string);
2017-03-24 13:52:55 +00:00
CORE_DECLARE(void) s1ap_buffer_to_OCTET_STRING(
void *buf, int size, S1ap_TBCD_STRING_t *tbcd_string);
2017-03-05 02:29:15 +00:00
CORE_DECLARE(void) s1ap_uint32_to_ENB_ID(
2017-03-05 14:36:17 +00:00
S1ap_ENB_ID_PR present, c_uint32_t enb_id, S1ap_ENB_ID_t *eNB_ID);
2017-03-05 02:29:15 +00:00
CORE_DECLARE(void) s1ap_ENB_ID_to_uint32(
S1ap_ENB_ID_t *eNB_ID, c_uint32_t *uint32);
#ifdef __cplusplus
}
#endif /* __cplusplus */
2017-03-05 14:36:17 +00:00
#endif /* __S1AP_CONV_H__ */