diff options
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/driver.h b/src/driver.h index 5929368a..8d12d96a 100644 --- a/src/driver.h +++ b/src/driver.h @@ -100,6 +100,28 @@ struct ofono_own_number { int speed; int service; int itc; + int npi; +}; + +/* 24.008 Section 10.5.4.7 */ +enum ofono_number_type { + OFONO_NUMBER_TYPE_UNKNOWN = 0, + OFONO_NUMBER_TYPE_INTERNATIONAL = 1, + OFONO_NUMBER_TYPE_NATIONAL = 2, + OFONO_NUMBER_TYPE_NETWORK_SPECIFIC = 3, + OFONO_NUMBER_TYPE_DEDICATED_ACCESS = 4, + OFONO_NUMBER_TYPE_RESERVED = 7 +}; + +enum ofono_numbering_plan { + OFONO_NUMBERING_PLAN_UNKNOWN = 0, + OFONO_NUMBERING_PLAN_ISDN = 1, + OFONO_NUMBERING_PLAN_DATA = 3, + OFONO_NUMBERING_PLAN_TELEX = 4, + OFONO_NUMBERING_PLAN_NATIONAL = 8, + OFONO_NUMBERING_PLAN_PRIVATE = 9, + OFONO_NUMBERING_PLAN_RESERVED_CTS = 11, + OFONO_NUMBERING_PLAN_RESERVED = 15 }; /* 51.011 Section 9.3 */ |