aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/db.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-08-09 19:05:21 +0200
committerHarald Welte <laforge@gnumonks.org>2009-08-09 19:05:21 +0200
commit2ebabca32a6626a43f22b3b268f04b44f8d1d397 (patch)
treeebe87c16662379ab3cf73c265707b2cc6c48e858 /openbsc/include/openbsc/db.h
parentd0b7b7719f4173a411a212c7e87f098036323994 (diff)
new db_sms_get_unsent_for_subscr() function
The function retrieves the oldest not-yet-sent SM for the given subscriber
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 c9b72659e..eef42f6fb 100644
--- a/openbsc/include/openbsc/db.h
+++ b/openbsc/include/openbsc/db.h
@@ -43,5 +43,6 @@ int db_subscriber_assoc_imei(struct gsm_subscriber* subscriber, char *imei);
/* SMS store-and-forward */
int db_sms_store(struct gsm_sms *sms);
struct gsm_sms *db_sms_get_unsent(struct gsm_network *net, int min_id);
+struct gsm_sms *db_sms_get_unsent_for_subscr(struct gsm_subscriber *subscr);
int db_sms_mark_sent(struct gsm_sms *sms);
#endif /* _DB_H */