summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com>2015-10-13 18:07:51 +0200
committerDenis Kenzior <denkenz@gmail.com>2015-10-13 16:01:09 -0500
commitab9fedc6ef3bde5855b2776acfae59aaae3e787a (patch)
tree6bb51528565d9c9df06a85845f512f8d0e78bd24 /include
parentf2f279b28dbadfd50c306f73331d1db4eb95d899 (diff)
downloadofono-ab9fedc6ef3bde5855b2776acfae59aaae3e787a.tar.bz2
include: Add definitions for phone number types
Diffstat (limited to 'include')
-rw-r--r--include/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 9a7dfd95..2c64b200 100644
--- a/include/types.h
+++ b/include/types.h
@@ -73,6 +73,12 @@ struct ofono_error {
#define OFONO_MAX_PHONE_NUMBER_LENGTH 80
#define OFONO_MAX_CALLER_NAME_LENGTH 80
+/* Number types, 3GPP TS 24.008 subclause 10.5.4.7, octect 3 */
+/* Unknown, ISDN numbering plan */
+#define OFONO_NUMBER_TYPE_UNKNOWN 129
+/* International, ISDN numbering plan */
+#define OFONO_NUMBER_TYPE_INTERNATIONAL 145
+
struct ofono_phone_number {
char number[OFONO_MAX_PHONE_NUMBER_LENGTH + 1];
int type;