summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-06-16 07:48:41 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-06-16 09:50:05 -0500
commit2f95fd52eefc4dec67d77eac5d308598eea5bb50 (patch)
tree9b80f34f105b7a3296d8c1a502805ab9938cc587 /include
parentecdec0715b5e1ac890eef4cafbf6ba003fa127a2 (diff)
cdma-sms: Make const correct
Diffstat (limited to 'include')
-rw-r--r--include/cdma-sms.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cdma-sms.h b/include/cdma-sms.h
index 7caa2c99..3b19f042 100644
--- a/include/cdma-sms.h
+++ b/include/cdma-sms.h
@@ -38,13 +38,14 @@ struct ofono_cdma_sms_driver {
int (*probe)(struct ofono_cdma_sms *cdma_sms, unsigned int vendor,
void *data);
void (*remove)(struct ofono_cdma_sms *cdma_sms);
- void (*submit)(struct ofono_cdma_sms *cdma_sms, unsigned char *tpdu,
+ void (*submit)(struct ofono_cdma_sms *cdma_sms,
+ const unsigned char *tpdu,
int tpdu_len, ofono_cdma_sms_submit_cb_t cb,
void *data);
};
void ofono_cdma_sms_deliver_notify(struct ofono_cdma_sms *cdma_sms,
- unsigned char *pdu, int tpdu_len);
+ const unsigned char *pdu, int tpdu_len);
int ofono_cdma_sms_driver_register(const struct ofono_cdma_sms_driver *d);
void ofono_cdma_sms_driver_unregister(const struct ofono_cdma_sms_driver *d);