aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-11-07 05:08:18 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-30 11:48:22 +0100
commit76ef72dda892b8ec4b64bba2fb700763196540c9 (patch)
tree3ae3270ae8806b48e780fe46594a2b46a1691001 /include
parentf40e46fdf4b727f415e6308ecaac4399896f51f1 (diff)
libmsc/gsm_04_11.c: forward MO SMS messages over GSUP
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/msc/Makefile.am1
-rw-r--r--include/osmocom/msc/gsm_04_11.h1
-rw-r--r--include/osmocom/msc/gsm_04_11_gsup.h14
3 files changed, 16 insertions, 0 deletions
diff --git a/include/osmocom/msc/Makefile.am b/include/osmocom/msc/Makefile.am
index d98bc9cb5..13ac166d4 100644
--- a/include/osmocom/msc/Makefile.am
+++ b/include/osmocom/msc/Makefile.am
@@ -5,6 +5,7 @@ noinst_HEADERS = \
debug.h \
gsm_04_08.h \
gsm_04_11.h \
+ gsm_04_11_gsup.h \
gsm_04_14.h \
gsm_04_80.h \
gsm_09_11.h \
diff --git a/include/osmocom/msc/gsm_04_11.h b/include/osmocom/msc/gsm_04_11.h
index 95098c9b3..b739918b1 100644
--- a/include/osmocom/msc/gsm_04_11.h
+++ b/include/osmocom/msc/gsm_04_11.h
@@ -2,6 +2,7 @@
#define _GSM_04_11_H
#include <osmocom/gsm/protocol/gsm_04_11.h>
+#include <osmocom/msc/gsm_04_11_gsup.h>
struct vlr_subscr;
struct ran_conn;
diff --git a/include/osmocom/msc/gsm_04_11_gsup.h b/include/osmocom/msc/gsm_04_11_gsup.h
new file mode 100644
index 000000000..94ff8f670
--- /dev/null
+++ b/include/osmocom/msc/gsm_04_11_gsup.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <stdint.h>
+
+struct osmo_gsup_message;
+struct vlr_subscr;
+struct gsm_trans;
+struct msgb;
+
+int gsm411_gsup_mo_ready_for_sm_req(struct gsm_trans *trans, uint8_t sm_rp_mr);
+int gsm411_gsup_mo_fwd_sm_req(struct gsm_trans *trans, struct msgb *msg,
+ uint8_t sm_rp_mr, uint8_t *sm_rp_da, uint8_t sm_rp_da_len);
+int gsm411_gsup_mo_handler(struct vlr_subscr *vsub,
+ struct osmo_gsup_message *gsup_msg);