diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-19 17:22:02 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-19 18:35:08 -0500 |
commit | 04c12038baedf21e8615a45907164648c83032f7 (patch) | |
tree | 1af3f4676bef336a48797a771fce585177d06335 /include/types.h | |
parent | 73bba4b83b97265ff28185846fba8e93867d8a3c (diff) | |
download | ofono-04c12038baedf21e8615a45907164648c83032f7.tar.bz2 |
Evolve the voicecall driver
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index 54cb3f40..7f99f80c 100644 --- a/include/types.h +++ b/include/types.h @@ -53,6 +53,13 @@ enum ofono_error_type { OFONO_ERROR_TYPE_FAILURE }; +enum ofono_disconnect_reason { + OFONO_DISCONNECT_REASON_UNKNOWN = 0, + OFONO_DISCONNECT_REASON_LOCAL_HANGUP, + OFONO_DISCONNECT_REASON_REMOTE_HANGUP, + OFONO_DISCONNECT_REASON_ERROR, +}; + struct ofono_error { enum ofono_error_type type; int error; @@ -65,6 +72,15 @@ struct ofono_phone_number { int type; }; +struct ofono_call { + unsigned id; + int type; + int direction; + int status; + struct ofono_phone_number phone_number; + int clip_validity; +}; + #ifdef __cplusplus } #endif |