libosmogsm
1.9.2
Osmocom GSM library
|
Go to the documentation of this file.
8 #define APN_NI_MAXLEN 63
11 #define APN_MAXLEN 100
14 char *
osmo_apn_qualify_buf(
char *buf,
size_t buf_len,
unsigned int mcc,
unsigned int mnc,
const char *ni);
15 char *
osmo_apn_qualify_c(
const void *ctx,
unsigned int mcc,
unsigned int mnc,
const char *ni);
20 const char *ni,
int have_3dig_mnc);
22 const char *ni,
int have_3dig_mnc);
26 char *
osmo_apn_to_str(
char *out_str,
const uint8_t *apn_enc,
size_t apn_enc_len);
char * osmo_apn_qualify(unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:44
char * osmo_apn_qualify_buf(char *buf, size_t buf_len, unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:36
char * osmo_apn_qualify_from_imsi_c(const void *ctx, const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:81
char * osmo_apn_qualify_c(const void *ctx, unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:49
int osmo_apn_from_str(uint8_t *apn_enc, size_t max_apn_enc_len, const char *str)
Convert a dot-separated string into an encoded APN.
Definition: apn.c:133
char * osmo_apn_to_str(char *out_str, const uint8_t *apn_enc, size_t apn_enc_len)
Convert an encoded APN into a dot-separated string.
Definition: apn.c:98
char * osmo_apn_qualify_from_imsi_buf(char *buf, size_t buf_len, const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:57
char * osmo_apn_qualify_from_imsi(const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:75