Vadim Yanitskiy | 6e19d1b | 2018-01-10 18:24:45 +0600 | [diff] [blame] | 1 | #pragma once |
Harald Welte | 6eafe91 | 2009-10-16 08:32:58 +0200 | [diff] [blame] | 2 | |
Pablo Neira Ayuso | 136f453 | 2011-03-22 16:47:59 +0100 | [diff] [blame] | 3 | #include <osmocom/core/msgb.h> |
| 4 | #include <osmocom/gsm/protocol/gsm_04_80.h> |
| 5 | #include <osmocom/gsm/gsm0480.h> |
Mike Haben | 2449b37 | 2009-10-26 20:36:34 +0100 | [diff] [blame] | 6 | |
Holger Hans Peter Freyther | d42c3f2 | 2010-06-17 17:35:57 +0800 | [diff] [blame] | 7 | struct gsm_subscriber_connection; |
| 8 | |
Holger Hans Peter Freyther | d42c3f2 | 2010-06-17 17:35:57 +0800 | [diff] [blame] | 9 | int gsm0480_send_ussd_response(struct gsm_subscriber_connection *conn, |
Vadim Yanitskiy | 12d221f | 2018-04-04 05:30:16 +0700 | [diff] [blame^] | 10 | const char* response_text, |
Holger Hans Peter Freyther | 5085e0b | 2016-07-12 17:53:26 +0200 | [diff] [blame] | 11 | const struct ss_request *req); |
Holger Hans Peter Freyther | d42c3f2 | 2010-06-17 17:35:57 +0800 | [diff] [blame] | 12 | int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, |
Holger Hans Peter Freyther | 5085e0b | 2016-07-12 17:53:26 +0200 | [diff] [blame] | 13 | const struct ss_request *request); |
Harald Welte | 6eafe91 | 2009-10-16 08:32:58 +0200 | [diff] [blame] | 14 | |
Neels Hofmeyr | 43273c6 | 2016-05-10 12:50:31 +0200 | [diff] [blame] | 15 | int msc_send_ussd_notify(struct gsm_subscriber_connection *conn, int level, |
| 16 | const char *text); |
| 17 | int msc_send_ussd_release_complete(struct gsm_subscriber_connection *conn); |