aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-26 12:52:43 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-26 12:52:43 +0200
commit285ef23602be46c066aaed450fda8e9ec102bfdb (patch)
tree9a9788ff7cd9d7189495b7a103a6857d2a6af100 /include
parentc0eabb682988712185515a8ea8c360fd72d74811 (diff)
downloadexternal_libsamsung-ipc-285ef23602be46c066aaed450fda8e9ec102bfdb.zip
external_libsamsung-ipc-285ef23602be46c066aaed450fda8e9ec102bfdb.tar.gz
external_libsamsung-ipc-285ef23602be46c066aaed450fda8e9ec102bfdb.tar.bz2
sms: Save/del msg helpers, send msg correction
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r--include/sms.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sms.h b/include/sms.h
index b1b7518..5dd4b9f 100644
--- a/include/sms.h
+++ b/include/sms.h
@@ -92,7 +92,7 @@ struct ipc_sms_incoming_msg_header {
unsigned char length;
} __attribute__((__packed__));
-struct ipc_sms_save_msg_request_data {
+struct ipc_sms_save_msg_request_header {
unsigned char magic;
unsigned short index;
unsigned char status; // IPC_SMS_STATUS
@@ -136,8 +136,12 @@ struct ipc_sms_svc_center_addr_header {
*/
void *ipc_sms_send_msg_setup(struct ipc_sms_send_msg_request_header *header,
- const char *smsc, const char *pdu);
+ 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);
+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,
+ unsigned short index);
#endif