diff options
author | PaulK <contact@paulk.fr> | 2011-12-07 20:14:27 +0100 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-12-07 20:19:45 +0100 |
commit | a874a1e9f5fc38df67d019380a90ddf207c5c3e7 (patch) | |
tree | 8d0ca23734fcc1f24dc7e7137568ac1fefd2bc3e /include/call.h | |
parent | bfe37a777e32279700632c131779b93aae13808e (diff) | |
download | external_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.zip external_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.tar.gz external_libsamsung-ipc-a874a1e9f5fc38df67d019380a90ddf207c5c3e7.tar.bz2 |
Added DTMF support and corrected call structure
Diffstat (limited to 'include/call.h')
-rw-r--r-- | include/call.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/call.h b/include/call.h index c8c4cce..bc34227 100644 --- a/include/call.h +++ b/include/call.h @@ -67,12 +67,14 @@ #define IPC_CALL_TERM_MO 0x01 #define IPC_CALL_TERM_MT 0x02 +#define IPC_CALL_DTMF_STATE_START 0x01 +#define IPC_CALL_DTMF_STATE_STOP 0x02 + struct ipc_message_info; -struct ipc_call_incoming { - unsigned char type; // IPC_CALL_TYPE_... - unsigned char id; - unsigned char line; +struct ipc_call_cont_dtmf { + unsigned char state; + unsigned char tone; } __attribute__((__packed__)); void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char type, |