diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-27 13:07:47 +0200 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2011-10-28 13:53:28 +0200 |
commit | cfd471f8f322973aaa1767d5b41441aa0c624a6d (patch) | |
tree | 8ef137fcfc9f344ebada819ae5b0a308e04246c0 /samsung-ipc/ipc.c | |
parent | 2b9aa23db0b9c0f395abca551414a3c3ecb6d63d (diff) | |
download | external_libsamsung-ipc-cfd471f8f322973aaa1767d5b41441aa0c624a6d.zip external_libsamsung-ipc-cfd471f8f322973aaa1767d5b41441aa0c624a6d.tar.gz external_libsamsung-ipc-cfd471f8f322973aaa1767d5b41441aa0c624a6d.tar.bz2 |
replace ipc_request and ipc_response by a single struct ipc_message_info
Diffstat (limited to 'samsung-ipc/ipc.c')
-rw-r--r-- | samsung-ipc/ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index 15335a2..97a0b18 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -210,7 +210,7 @@ int ipc_client_power_off(struct ipc_client *client) return client->handlers->power_off(NULL); } -int _ipc_client_send(struct ipc_client *client, struct ipc_request *request) +int _ipc_client_send(struct ipc_client *client, struct ipc_message_info *request) { if (client == NULL || client->ops == NULL || @@ -234,7 +234,7 @@ inline void ipc_client_send_exec(struct ipc_client *client, const unsigned short /* Wrapper for ipc_send */ void ipc_client_send(struct ipc_client *client, const unsigned short command, const char type, unsigned char *data, const int length, unsigned char mseq) { - struct ipc_request request; + struct ipc_message_info request; request.mseq = mseq; request.aseq = 0xff; @@ -247,7 +247,7 @@ void ipc_client_send(struct ipc_client *client, const unsigned short command, co _ipc_client_send(client, &request); } -int ipc_client_recv(struct ipc_client *client, struct ipc_response *response) +int ipc_client_recv(struct ipc_client *client, struct ipc_message_info *response) { if (client == NULL || client->ops == NULL || |