summaryrefslogtreecommitdiffstats
path: root/src/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.h')
-rw-r--r--src/driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver.h b/src/driver.h
index e48717d6..3eade284 100644
--- a/src/driver.h
+++ b/src/driver.h
@@ -174,6 +174,8 @@ typedef void (*ofono_imsi_cb_t)(const struct ofono_error *error,
typedef void (*ofono_sca_query_cb_t)(const struct ofono_error *error,
const struct ofono_phone_number *ph,
void *data);
+typedef void (*ofono_sms_submit_cb_t)(const struct ofono_error *error, int mr,
+ void *data);
struct ofono_modem_attribute_ops {
void (*query_manufacturer)(struct ofono_modem *modem,
@@ -396,6 +398,9 @@ struct ofono_sms_ops {
void (*sca_set)(struct ofono_modem *modem,
const struct ofono_phone_number *sca,
ofono_generic_cb_t cb, void *data);
+ void (*submit)(struct ofono_modem *modem, unsigned char *pdu,
+ int pdu_len, int tpdu_len, gboolean mms,
+ ofono_sms_submit_cb_t cb, void *data);
};
int ofono_sms_manager_register(struct ofono_modem *modem,