aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-04 19:52:39 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-04 19:52:39 +0200
commitd2ba03448d092158da082e31326fe70a85ec1933 (patch)
tree1ee94bcd1c4324c9271f90173915c3434c85f55e /samsung-ipc
parentbf452ca6670299ec8b3ef0f9f93e7889f3f215cf (diff)
downloadexternal_libsamsung-ipc-d2ba03448d092158da082e31326fe70a85ec1933.zip
external_libsamsung-ipc-d2ba03448d092158da082e31326fe70a85ec1933.tar.gz
external_libsamsung-ipc-d2ba03448d092158da082e31326fe70a85ec1933.tar.bz2
call: DTMF status over state, burst response
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/call.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/samsung-ipc/call.c b/samsung-ipc/call.c
index 2830c46..718b02e 100644
--- a/samsung-ipc/call.c
+++ b/samsung-ipc/call.c
@@ -106,24 +106,24 @@ char *ipc_call_list_entry_number_extract(const struct ipc_call_list_entry *entry
return number;
}
-void *ipc_call_burst_dtmf_setup(const struct ipc_call_burst_dtmf_entry *entries,
+void *ipc_call_burst_dtmf_setup(const struct ipc_call_burst_dtmf_request_entry *entries,
unsigned char count)
{
- struct ipc_call_burst_dtmf_header *header;
+ struct ipc_call_burst_dtmf_request_header *header;
void *data;
size_t size;
if (entries == NULL)
return NULL;
- size = sizeof(struct ipc_call_burst_dtmf_header) + count * sizeof(struct ipc_call_burst_dtmf_entry);
+ size = sizeof(struct ipc_call_burst_dtmf_request_header) + count * sizeof(struct ipc_call_burst_dtmf_request_entry);
data = calloc(1, size);
- header = (struct ipc_call_burst_dtmf_header *) data;
+ header = (struct ipc_call_burst_dtmf_request_header *) data;
header->count = count;
- memcpy((void *) ((unsigned char *) data + sizeof(struct ipc_call_burst_dtmf_header)), entries, count * sizeof(struct ipc_call_burst_dtmf_entry));
+ memcpy((void *) ((unsigned char *) data + sizeof(struct ipc_call_burst_dtmf_request_header)), entries, count * sizeof(struct ipc_call_burst_dtmf_request_entry));
return data;
}