diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-06-26 12:22:52 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-06-26 12:22:52 +0200 |
commit | b63737e8e43cc294118c3fef034091193a4ce110 (patch) | |
tree | c03cb053928af8943be1587e68bf9d881a549cc6 /include | |
parent | 94826c5d6f1a52d96468cce0c8605075d2a1a9a3 (diff) | |
download | external_libsamsung-ipc-b63737e8e43cc294118c3fef034091193a4ce110.zip external_libsamsung-ipc-b63737e8e43cc294118c3fef034091193a4ce110.tar.gz external_libsamsung-ipc-b63737e8e43cc294118c3fef034091193a4ce110.tar.bz2 |
ipc_client_send: Single function with return code
Change-Id: I480b2496dabfada37e1ce60ab20401adf02b2e01
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/samsung-ipc.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h index f35feb7..b1d19be 100644 --- a/include/samsung-ipc.h +++ b/include/samsung-ipc.h @@ -93,16 +93,11 @@ char *ipc_client_gprs_get_iface(struct ipc_client *client, int cid); int ipc_client_gprs_get_capabilities(struct ipc_client *client, struct ipc_client_gprs_capabilities *cap); -/* Convenience functions for ipc_send */ -void ipc_client_send(struct ipc_client *client, const unsigned short command, +int ipc_client_send(struct ipc_client *client, const unsigned short command, const char type, unsigned char *data, const int length, unsigned char mseq); -void ipc_client_send_get(struct ipc_client *client, - const unsigned short command,unsigned char mseq); -void ipc_client_send_exec(struct ipc_client *client, - const unsigned short command, unsigned char mseq); - int ipc_client_recv(struct ipc_client *client, struct ipc_message_info *response); + void ipc_client_response_free(struct ipc_client *client, struct ipc_message_info *response); |