diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2014-03-08 21:27:37 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-09 10:26:11 +0100 |
commit | 1e77e3dc5bb9dd0017920745514a31f0085a0970 (patch) | |
tree | 5b5d3e92faa9dddcfaefc5c372126df2c5cbf9dc /openbsc/include/openbsc/db.h | |
parent | 82a1858eb0e9855472a1e7ee7624f68aa68057e6 (diff) |
db,sms: Rename db_sms_mark_sent() to db_sms_mark_delivered()
In MT-SMS the message is being delivered. Make the naming follow
that. The schema still refers to "sent" while it should be "delivered"
too.
Diffstat (limited to 'openbsc/include/openbsc/db.h')
-rw-r--r-- | openbsc/include/openbsc/db.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h index a89c22d54..29c6b42b8 100644 --- a/openbsc/include/openbsc/db.h +++ b/openbsc/include/openbsc/db.h @@ -63,7 +63,7 @@ struct gsm_sms *db_sms_get(struct gsm_network *net, unsigned long long id); struct gsm_sms *db_sms_get_unsent(struct gsm_network *net, unsigned long long min_id); struct gsm_sms *db_sms_get_unsent_by_subscr(struct gsm_network *net, unsigned long long min_subscr_id, unsigned int failed); struct gsm_sms *db_sms_get_unsent_for_subscr(struct gsm_subscriber *subscr); -int db_sms_mark_sent(struct gsm_sms *sms); +int db_sms_mark_delivered(struct gsm_sms *sms); int db_sms_inc_deliver_attempts(struct gsm_sms *sms); /* APDU blob storage */ |