diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-08-03 23:53:15 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-08-03 23:53:22 +0200 |
commit | c48926e382b68d0764c88b453711a9b269735537 (patch) | |
tree | 9447ac2df240f6083aba76e0ce9be62373fe2385 /include | |
parent | 5e4cb302a7e9ccf935c3b47063cbffa389cc9c25 (diff) | |
download | external_libsamsung-ipc-c48926e382b68d0764c88b453711a9b269735537.zip external_libsamsung-ipc-c48926e382b68d0764c88b453711a9b269735537.tar.gz external_libsamsung-ipc-c48926e382b68d0764c88b453711a9b269735537.tar.bz2 |
sms: Size function for helpers that return data with non-explicit size
Also, pdu is data, not string
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/sms.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sms.h b/include/sms.h index 5dd4b9f..95b225d 100644 --- a/include/sms.h +++ b/include/sms.h @@ -135,9 +135,14 @@ struct ipc_sms_svc_center_addr_header { * Helpers */ +size_t ipc_sms_send_msg_size_setup(struct ipc_sms_send_msg_request_header *header, + const void *smsc, size_t smsc_size, const void *pdu, size_t pdu_size); void *ipc_sms_send_msg_setup(struct ipc_sms_send_msg_request_header *header, const void *smsc, size_t smsc_size, const void *pdu, size_t pdu_size); -char *ipc_sms_incoming_msg_pdu_extract(const void *data, size_t size); +size_t ipc_sms_incoming_msg_pdu_size_extract(const void *data, size_t size); +void *ipc_sms_incoming_msg_pdu_extract(const void *data, size_t size); +size_t ipc_sms_save_msg_size_setup(struct ipc_sms_save_msg_request_header *header, + const void *smsc, size_t smsc_size, const void *pdu, size_t pdu_size); void *ipc_sms_save_msg_setup(struct ipc_sms_save_msg_request_header *header, const void *smsc, size_t smsc_size, const void *pdu, size_t pdu_size); int ipc_sms_del_msg_setup(struct ipc_sms_del_msg_request_data *data, |