From e9e35e2bc1384719c1f70fc074d33736ea0ef8bd Mon Sep 17 00:00:00 2001 From: Simon Busch Date: Fri, 18 Nov 2011 23:41:28 +0100 Subject: Add state values as defines for ipc_call_list_entry message Signed-off-by: Simon Busch --- include/call.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/call.h') diff --git a/include/call.h b/include/call.h index b6f5068..9c2e7c7 100644 --- a/include/call.h +++ b/include/call.h @@ -57,6 +57,13 @@ #define IPC_CALL_STATE_RELEASED 0x04 #define IPC_CALL_STATE_CONNECTING 0x05 +#define IPC_CALL_LIST_ENTRY_STATE_ACTIVE 0x01 +#define IPC_CALL_LIST_ENTRY_STATE_HOLDING 0x02 +#define IPC_CALL_LIST_ENTRY_STATE_DIALING 0x03 +#define IPC_CALL_LIST_ENTRY_STATE_ALERTING 0x04 +#define IPC_CALL_LIST_ENTRY_STATE_INCOMING 0x05 +#define IPC_CALL_LIST_ENTRY_STATE_WAITING 0x06 + #define IPC_CALL_TERM_MO 0x01 #define IPC_CALL_TERM_MT 0x02 @@ -72,7 +79,7 @@ struct ipc_call_list_entry { unsigned char type; // IPC_CALL_TYPE_... unsigned char idx; unsigned char term; // IPC_CALL_TERM_... - unsigned char state; + unsigned char state; // IPC_CALL_LIST_ENTRY_STATE_... unsigned char mpty; unsigned char number_len; unsigned char unk4; -- cgit v1.1