From a5617250a1b2ff2514b02bc20bcf38df5765cbdc Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 18 Aug 2009 22:28:47 -0500 Subject: Move mcc & mnc defines to types.h --- include/types.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/types.h b/include/types.h index 5c1322cc..54cb3f40 100644 --- a/include/types.h +++ b/include/types.h @@ -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 */ -- cgit v1.2.3