diff options
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/gsm/apn.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/osmocom/gsm/apn.h b/include/osmocom/gsm/apn.h new file mode 100644 index 00000000..d8d73996 --- /dev/null +++ b/include/osmocom/gsm/apn.h @@ -0,0 +1,13 @@ +#pragma once + +#include <stdint.h> + +/* 23.003 Section 9.1.1, excluding any terminating zero byte */ +#define APN_NI_MAXLEN 63 + +/* 23.003 Section 9.1, excluding any terminating zero byte */ +#define APN_MAXLEN 100 + +char *osmo_apn_qualify(unsigned int mcc, unsigned int mnc, const char *ni); +char *osmo_apn_qualify_from_imsi(const char *imsi, + const char *ni, int have_3dig_mnc); |