libosmogsm
0.9.6-23.20170220git32ee5af8.fc42
Osmocom GSM library
Loading...
Searching...
No Matches
apn.h
1
#pragma once
2
3
#include <stdint.h>
4
5
/* 23.003 Section 9.1.1, excluding any terminating zero byte */
6
#define APN_NI_MAXLEN 63
7
8
/* 23.003 Section 9.1, excluding any terminating zero byte */
9
#define APN_MAXLEN 100
10
11
char
*osmo_apn_qualify(
unsigned
int
mcc,
unsigned
int
mnc,
const
char
*ni);
12
13
/* Compose a string of the form '<ni>.mnc001.mcc002.gprs\0', returned in a
14
* static buffer. */
15
char
*osmo_apn_qualify_from_imsi(
const
char
*imsi,
16
const
char
*ni,
int
have_3dig_mnc);
17
18
int
osmo_apn_from_str(uint8_t *apn_enc,
size_t
max_apn_enc_len,
const
char
*str);
19
char
* osmo_apn_to_str(
char
*out_str,
const
uint8_t *apn_enc,
size_t
apn_enc_len);
include
osmocom
gsm
apn.h
Generated on Thu Jul 18 2024 00:00:00 for libosmogsm by
1.12.0