libosmogsm
0.9.6.20171026
Osmocom GSM library
|
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | osmo_plmn_id |
struct | osmo_location_area_id |
struct | osmo_routing_area_id |
struct | osmo_cell_global_id |
struct | osmo_service_area_id |
struct | osmo_shared_network_area_id |
struct | osmo_gsn_address |
struct | osmo_tracking_area_id |
struct | osmo_eutran_cell_global_id |
struct | osmo_mme_id |
struct | osmo_gummei |
struct | osmo_guti |
Enumerations | |
enum | osmo_gsn_addr_type { GSN_ADDR_TYPE_IPV4 = 0, GSN_ADDR_TYPE_IPV6 = 1 } |
Functions | |
bool | osmo_imsi_str_valid (const char *imsi) |
Determine whether the given IMSI is valid according to 3GPP TS 23.003. More... | |
bool | osmo_msisdn_str_valid (const char *msisdn) |
Determine whether the given MSISDN is valid according to 3GPP TS 23.003. More... | |
enum osmo_gsn_addr_type |
bool osmo_imsi_str_valid | ( | const char * | imsi | ) |
Determine whether the given IMSI is valid according to 3GPP TS 23.003.
imsi | IMSI digits in ASCII string representation. |
References GSM23003_IMSI_MAX_DIGITS, GSM23003_IMSI_MIN_DIGITS, and is_n_digits().
bool osmo_msisdn_str_valid | ( | const char * | msisdn | ) |
Determine whether the given MSISDN is valid according to 3GPP TS 23.003.
msisdn | MSISDN digits in ASCII string representation. |
References is_n_digits().