aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/db.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-12-24 23:18:31 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-12-25 21:39:04 +0100
commit812dad0ff7e34499ae7c28cbed51e0a86da98846 (patch)
tree26ecb33b854db9d6b4b6ec11a736b8de475f6747 /openbsc/include/openbsc/db.h
parente25445b8644310c73694b960f63f93f1e3110315 (diff)
db: Add method to load a SMS by id.
Diffstat (limited to 'openbsc/include/openbsc/db.h')
-rw-r--r--openbsc/include/openbsc/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h
index ba7c5a74b..3b705194c 100644
--- a/openbsc/include/openbsc/db.h
+++ b/openbsc/include/openbsc/db.h
@@ -63,6 +63,7 @@ int db_sync_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple,
/* SMS store-and-forward */
int db_sms_store(struct gsm_sms *sms);
+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);
struct gsm_sms *db_sms_get_unsent_for_subscr(struct gsm_subscriber *subscr);