summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorDara Spieker-Doyle <dara.spieker-doyle@nokia.com>2010-12-17 15:11:14 -0800
committerDenis Kenzior <denkenz@gmail.com>2010-12-20 14:47:23 -0600
commitf108eb79c38886cb7ecc36bbb0c10d87a2d11af3 (patch)
treea5b7faec3cdaca155935878211b60c10956a82b8 /include/types.h
parent1aaa8a200a73b1914255ff09b2489c035a78db51 (diff)
downloadofono-f108eb79c38886cb7ecc36bbb0c10d87a2d11af3.tar.bz2
types: Add CDMA Phone Number
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index de15437d..9fd174d3 100644
--- a/include/types.h
+++ b/include/types.h
@@ -84,6 +84,14 @@ struct ofono_phone_number {
int type;
};
+/* Length of NUM_FIELDS in 3GPP2 C.S0005-E v2.0 */
+#define OFONO_CDMA_MAX_PHONE_NUMBER_LENGTH 256
+
+struct ofono_cdma_phone_number {
+ /* char maps to max size of CHARi (8 bit) in 3GPP2 C.S0005-E v2.0 */
+ char number[OFONO_CDMA_MAX_PHONE_NUMBER_LENGTH];
+};
+
struct ofono_call {
unsigned int id;
int type;