diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-11 14:40:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-14 07:05:24 +0200 |
commit | 7faa48ea9490c0af563d3bb8426a1e2d9bf83f82 (patch) | |
tree | 23a8e6b85e6eecd9135da3b3b3635e8055b90baf /include | |
parent | 5b6e080472952d1c97568d9925aae268677623a6 (diff) | |
download | ModemManager-7faa48ea9490c0af563d3bb8426a1e2d9bf83f82.tar.gz |
api: new `PduType' property in the SMS interface
It will help deciding the type of message.
Diffstat (limited to 'include')
-rw-r--r-- | include/ModemManager-enums.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index d853106df..75693823a 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -355,6 +355,22 @@ typedef enum { /*< underscore_name=mm_modem_band >*/ } MMModemBand; /** + * MMSmsPduType: + * @MM_SMS_PDU_TYPE_UNKNOWN: Unknown type. + * @MM_SMS_PDU_TYPE_DELIVER: SMS has been received from the SMSC. + * @MM_SMS_PDU_TYPE_SUBMIT: SMS is sent, or to be sent to the SMSC. + * @MM_SMS_PDU_TYPE_STATUS_REPORT: SMS is a status report received from the SMSC. + * + * Type of PDUs used in the SMS. + */ +typedef enum { /*< underscore_name=mm_sms_pdu_type >*/ + MM_SMS_PDU_TYPE_UNKNOWN = 0, + MM_SMS_PDU_TYPE_DELIVER = 1, + MM_SMS_PDU_TYPE_SUBMIT = 2, + MM_SMS_PDU_TYPE_STATUS_REPORT = 3 +} MMSmsPduType; + +/** * MMSmsState: * @MM_SMS_STATE_UNKNOWN: State unknown or not reportable. * @MM_SMS_STATE_STORED: The message has been neither received nor yet sent. |