summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/sms_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libmsc/sms_queue.c')
-rw-r--r--openbsc/src/libmsc/sms_queue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/sms_queue.c b/openbsc/src/libmsc/sms_queue.c
index e63870146..2edc42f02 100644
--- a/openbsc/src/libmsc/sms_queue.c
+++ b/openbsc/src/libmsc/sms_queue.c
@@ -505,6 +505,11 @@ int sms_queue_pending_stat(struct gsm_network *net, struct ctrl_cmd *cmd)
return 0;
}
+int sms_queue_get_max_failure(struct gsm_sms_queue *smsq)
+{
+ return smsq->max_fail;
+}
+
/* VTY helper functions */
int sms_queue_stats(struct gsm_sms_queue *smsq, struct vty *vty)
{