aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_04_80.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openbsc/gsm_04_80.h')
-rw-r--r--include/openbsc/gsm_04_80.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/openbsc/gsm_04_80.h b/include/openbsc/gsm_04_80.h
new file mode 100644
index 000000000..d65f640bc
--- /dev/null
+++ b/include/openbsc/gsm_04_80.h
@@ -0,0 +1,25 @@
+#ifndef _GSM_04_80_H
+#define _GSM_04_80_H
+
+#include <osmocom/core/msgb.h>
+#include <osmocom/gsm/protocol/gsm_04_80.h>
+#include <osmocom/gsm/gsm0480.h>
+
+struct gsm_subscriber_connection;
+
+int gsm0480_send_ussd_response(struct gsm_subscriber_connection *conn,
+ const struct msgb *in_msg, const char* response_text,
+ const struct ss_request *req);
+int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn,
+ const struct msgb *msg,
+ const struct ss_request *request);
+
+int msc_send_ussd_notify(struct gsm_subscriber_connection *conn, int level,
+ const char *text);
+int msc_send_ussd_release_complete(struct gsm_subscriber_connection *conn);
+
+int bsc_send_ussd_notify(struct gsm_subscriber_connection *conn, int level,
+ const char *text);
+int bsc_send_ussd_release_complete(struct gsm_subscriber_connection *conn);
+
+#endif