open5gs/src/mme/nas-conv.h

42 lines
1.1 KiB
C
Raw Normal View History

2019-07-11 12:53:54 +00:00
/*
* Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef NAS_CONV_H
#define NAS_CONV_H
2017-03-05 14:45:06 +00:00
2019-06-11 09:28:25 +00:00
#include "nas/nas-message.h"
2017-03-05 14:45:06 +00:00
#ifdef __cplusplus
extern "C" {
2019-07-11 12:53:54 +00:00
#endif
2017-03-05 14:45:06 +00:00
2019-04-27 14:54:30 +00:00
void nas_imsi_to_buffer(
nas_mobile_identity_imsi_t *imsi, uint8_t imsi_len,
uint8_t *buf, uint8_t *buf_len);
2017-03-05 14:45:06 +00:00
2019-04-27 14:54:30 +00:00
void nas_imsi_to_bcd(
nas_mobile_identity_imsi_t *imsi, uint8_t imsi_len, char *bcd);
2017-04-09 15:27:19 +00:00
2017-03-05 14:45:06 +00:00
#ifdef __cplusplus
}
2019-07-11 12:53:54 +00:00
#endif
2017-03-05 14:45:06 +00:00
2019-07-11 12:53:54 +00:00
#endif /* NAS_CONV_H */
2017-03-05 14:45:06 +00:00