aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/call.h8
-rw-r--r--samsung-ipc/call.c6
-rw-r--r--tools/modemctrl.c5
3 files changed, 9 insertions, 10 deletions
diff --git a/include/call.h b/include/call.h
index 809f9ed..4784039 100644
--- a/include/call.h
+++ b/include/call.h
@@ -54,7 +54,7 @@
#define IPC_CALL_TERM_MO 0x01
#define IPC_CALL_TERM_MT 0x02
-struct ipc_response;
+struct ipc_message_info;
struct ipc_call_outgoing {
unsigned char type; // IPC_CALL_TYPE_...
@@ -91,9 +91,9 @@ struct ipc_call_status {
void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char type,
unsigned char identity, unsigned char prefix, char *number);
-unsigned int ipc_call_list_response_get_num_entries(struct ipc_response *response);
-struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_response *response, unsigned int num);
-char* ipc_call_list_response_get_entry_number(struct ipc_response *response, unsigned int num);
+unsigned int ipc_call_list_response_get_num_entries(struct ipc_message_info *response);
+struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_message_info *response, unsigned int num);
+char* ipc_call_list_response_get_entry_number(struct ipc_message_info *response, unsigned int num);
#endif
diff --git a/samsung-ipc/call.c b/samsung-ipc/call.c
index 9d94931..2ca3ef4 100644
--- a/samsung-ipc/call.c
+++ b/samsung-ipc/call.c
@@ -39,7 +39,7 @@ void ipc_call_outgoing_setup(struct ipc_call_outgoing *message, unsigned char ty
/**
* Retrieve number of calls in list of calls.
**/
-unsigned int ipc_call_list_response_get_num_entries(struct ipc_response *response)
+unsigned int ipc_call_list_response_get_num_entries(struct ipc_message_info *response)
{
unsigned int count = 0, n = 0;
@@ -53,7 +53,7 @@ unsigned int ipc_call_list_response_get_num_entries(struct ipc_response *respons
/**
* Retrieve one specific entry from a list of calls.
**/
-struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_response *response, unsigned int num)
+struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_message_info *response, unsigned int num)
{
unsigned int count = 0, pos = 1, n = 0;
struct ipc_call_list_entry *entry = NULL;
@@ -77,7 +77,7 @@ struct ipc_call_list_entry* ipc_call_list_response_get_entry(struct ipc_response
/**
* Retrieve the number of a call entry in the list of calls
**/
-char* ipc_call_list_response_get_entry_number(struct ipc_response *response, unsigned int num)
+char* ipc_call_list_response_get_entry_number(struct ipc_message_info *response, unsigned int num)
{
unsigned int count = 0, pos = 1, n = 0;
struct ipc_call_list_entry *entry = NULL;
diff --git a/tools/modemctrl.c b/tools/modemctrl.c
index 4109d9f..4d3db75 100644
--- a/tools/modemctrl.c
+++ b/tools/modemctrl.c
@@ -32,7 +32,6 @@
#include <pthread.h>
#include <radio.h>
-#include <crespo_ipc.h>
#define RC_CHECK printf("line %d, rc = %d\n", __LINE__, rc);
@@ -47,7 +46,7 @@ void print_help()
int crespo_read_loop(struct ipc_client *client)
{
- struct ipc_response resp;
+ struct ipc_message_info resp;
void *io_data = NULL;
int fd = -1;
fd_set fds;
@@ -82,7 +81,7 @@ int modem_start(struct ipc_client *client)
{
int rc;
- ipc_client_set_handlers(client, &ipc_default_handlers);
+ // ipc_client_set_handlers(client, &ipc_default_handlers);
ipc_client_bootstrap_modem(client);
rc = ipc_client_power_on(client);