diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-12 16:47:31 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-13 10:08:32 -0500 |
commit | 01b4c494477150a2630c5bf734119e2f8fa53c67 (patch) | |
tree | 5bd8d65f86e79731cd7a0789a3e3e324468fd61a /src/driver.h | |
parent | 03e90fff1630346e6e6f8f81a1240cfdd2e0a20e (diff) | |
download | ofono-01b4c494477150a2630c5bf734119e2f8fa53c67.tar.bz2 |
Move certain parts of driver.h to types.h
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/driver.h b/src/driver.h index f05961be..14f05c34 100644 --- a/src/driver.h +++ b/src/driver.h @@ -19,13 +19,9 @@ * */ -struct ofono_modem; +#include <ofono/types.h> -#define OFONO_MAX_PHONE_NUMBER_LENGTH 20 -struct ofono_phone_number { - char number[OFONO_MAX_PHONE_NUMBER_LENGTH + 1]; - int type; -}; +struct ofono_modem; /* 27.007 Section 6.2 */ enum ofono_clir_option { @@ -40,19 +36,6 @@ enum ofono_cug_option { OFONO_CUG_OPTION_INVOCATION = 1, }; -enum ofono_error_type { - OFONO_ERROR_TYPE_NO_ERROR = 0, - OFONO_ERROR_TYPE_CME, - OFONO_ERROR_TYPE_CMS, - OFONO_ERROR_TYPE_CEER, - OFONO_ERROR_TYPE_FAILURE -}; - -struct ofono_error { - enum ofono_error_type type; - int error; -}; - enum ofono_disconnect_reason { OFONO_DISCONNECT_REASON_UNKNOWN = 0, OFONO_DISCONNECT_REASON_LOCAL_HANGUP, |