mirror of git://git.sysmocom.de/ofono
Move mcc & mnc defines to types.h
This commit is contained in:
parent
99cf14efcf
commit
a5617250a1
|
@ -26,6 +26,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* MCC is always three digits. MNC is either two or three digits */
|
||||
#define OFONO_MAX_MCC_LENGTH 3
|
||||
#define OFONO_MAX_MNC_LENGTH 3
|
||||
|
||||
typedef void (*ofono_destroy_func)(void *data);
|
||||
|
||||
/* 27.007 Section 6.2 */
|
||||
|
|
|
@ -44,10 +44,6 @@ struct ofono_call {
|
|||
* */
|
||||
#define OFONO_MAX_OPERATOR_NAME_LENGTH 63
|
||||
|
||||
/* MCC is always three digits. MNC is either two or three digits */
|
||||
#define OFONO_MAX_MCC_LENGTH 3
|
||||
#define OFONO_MAX_MNC_LENGTH 3
|
||||
|
||||
struct ofono_network_operator {
|
||||
char name[OFONO_MAX_OPERATOR_NAME_LENGTH + 1];
|
||||
char mcc[OFONO_MAX_MCC_LENGTH + 1];
|
||||
|
|
Loading…
Reference in New Issue