summaryrefslogtreecommitdiffstats
path: root/src/stkutil.h
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2010-03-26 00:07:32 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-25 11:36:11 -0500
commitcf38ef05bab75814eb6c32958c0e343cf76b3dac (patch)
tree7300297c0e777cf09cab91a658626b1e1459517c /src/stkutil.h
parenta13db81229d5657bc0d8202059114290a7b65067 (diff)
downloadofono-cf38ef05bab75814eb6c32958c0e343cf76b3dac.tar.bz2
Add parser for location information objects
Diffstat (limited to 'src/stkutil.h')
-rw-r--r--src/stkutil.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h
index 23c6a3f8..a9495de2 100644
--- a/src/stkutil.h
+++ b/src/stkutil.h
@@ -347,6 +347,17 @@ struct stk_result {
unsigned char *additional;
};
+/* Defined in TS 102.223 Section 8.19 */
+struct stk_location_info {
+ char mnc[OFONO_MAX_MNC_LENGTH + 1];
+ char mcc[OFONO_MAX_MCC_LENGTH + 1];
+ unsigned short lac_tac;
+ ofono_bool_t has_ci;
+ unsigned short ci;
+ ofono_bool_t has_ext_ci;
+ unsigned short ext_ci;
+};
+
/* Define the struct of single file in TS102.223 Section 8.18.
* According to TS 11.11 Section 6.2, each file id has two bytes, and the
* maximum Dedicated File level is 2. So the maximum size of file is 8, which