aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2015-12-21 12:34:30 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2017-02-07 18:59:55 +0300
commit32906636f16ae2d45854173acca36768699a27e2 (patch)
tree79c239ded8cdbe3120037a4e710f280ba7a04b52 /openbsc/include
parentb314380065323f4f21edb7ec6f0cd55a21e8d1b3 (diff)
sms: Add functions for forwarding/handling SMS in RP format to/from external application
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/gsm_04_11.h3
-rw-r--r--openbsc/include/openbsc/gsm_sup.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_04_11.h b/openbsc/include/openbsc/gsm_04_11.h
index 149de9083..6408b7b5c 100644
--- a/openbsc/include/openbsc/gsm_04_11.h
+++ b/openbsc/include/openbsc/gsm_04_11.h
@@ -38,5 +38,8 @@ int gsm411_send_sms(struct gsm_subscriber_connection *conn,
struct gsm_sms *sms);
void gsm411_sapi_n_reject(struct gsm_subscriber_connection *conn);
+int gsm411_send_rp_msg_subscr(struct gsm_subscriber *subscr,
+ struct msgb *rp);
+
uint8_t sms_next_rp_msg_ref(uint8_t *next_rp_ref);
#endif
diff --git a/openbsc/include/openbsc/gsm_sup.h b/openbsc/include/openbsc/gsm_sup.h
index 09d2f9989..8dd15a2f7 100644
--- a/openbsc/include/openbsc/gsm_sup.h
+++ b/openbsc/include/openbsc/gsm_sup.h
@@ -4,6 +4,7 @@
#include <openbsc/debug.h>
#include <openbsc/gsm_subscriber.h>
#include <osmocom/gsm/gsm0480.h>
+#include <osmocom/gsm/protocol/gsm_04_11.h>
#define LOGGSUBSCRP(level, subscr, fmt, args...) \
LOGP(DSUP, level, "SUBSCR(%s) " fmt, \
@@ -19,4 +20,7 @@ int subscr_location_update(struct gsm_subscriber *subscr);
int subscr_tx_uss_message(struct ss_request *req,
struct gsm_subscriber *subscr);
+int subscr_tx_sms_message(struct gsm_subscriber *subscr,
+ struct gsm411_rp_hdr *rph);
+
#endif /* _GSM_SUP_H */