summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2010-03-05 12:34:28 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-10 13:14:11 -0600
commitec31f1eabbe30bb6c90827b7c96ae1c27d71e1c2 (patch)
tree9991413eb833adda0bde8dd7018977b698e8eb2a /src/stkutil.h
parent00262e36dbf5fff2c780afe19cbc3154926bba26 (diff)
downloadofono-ec31f1eabbe30bb6c90827b7c96ae1c27d71e1c2.tar.bz2
Add parser for address objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index a319141d..4576ddda 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -192,6 +192,13 @@ enum stk_duration_type {
STK_DURATION_TYPE_SECOND_TENTHS = 0x02,
};
+/* Defined in TS 102.223 Section 8.1 */
+struct stk_address {
+ unsigned char ton;
+ unsigned char npi;
+ char *number;
+};
+
/*
* Icon ID denotes a file on the SIM filesystem. Since EF cannot have record
* ids of 0, we use icon_id with 0 to denote empty icon_identifier objects