aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/sms_queue.h
blob: 8bb540dda12385d855bc8d64cb8bc1cd0ad69d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef SMS_QUEUE_H
#define SMS_QUEUE_H

struct gsm_network;
struct gsm_sms_queue;
struct vty;
struct ctrl_cmd;

int sms_queue_start(struct gsm_network *, int in_flight);
int sms_queue_trigger(struct gsm_sms_queue *);

/* Ctrl interface helper function */
int sms_queue_pending_stat(struct gsm_network *net, struct ctrl_cmd *cmd);

/* vty helper functions */
int sms_queue_stats(struct gsm_sms_queue *, struct vty* vty);
int sms_queue_set_max_pending(struct gsm_sms_queue *, int max);
int sms_queue_set_max_failure(struct gsm_sms_queue *, int fail);
int sms_queue_clear(struct gsm_sms_queue *);

#endif