From 04c12038baedf21e8615a45907164648c83032f7 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 19 Aug 2009 17:22:02 -0500 Subject: Evolve the voicecall driver --- include/types.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/types.h') 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 -- cgit v1.2.3