diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-08-03 04:39:04 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-08-05 07:15:01 +0000 |
commit | 0622ef5308f1822c023d3d8312b621e3343bc7b9 (patch) | |
tree | f6212969090cddefdf93f0f0f05d58af36256477 /include/osmocom | |
parent | 096be50c8237cef5015349aad7502a208f54ce72 (diff) |
libmsc/gsm_09_11.c: clean up the local GSM 04.80 API
Since we don't process SS/USSD requests in OsmoMSC anymore, there
are some useless GSM 04.80 functions remained from the past.
In particular, this change does the following:
- removes both gsm0480_send_{ussd_response|return_error}
functions because they are not used anymore;
- changes symbol prefix from 'gsm0480_' to 'msc_', in order to
avoid possible conflicts with the libosmogsm's GSM 04.80 API;
- cleans up useless includes;
Change-Id: I2990d8627bce0ce6afb1dcf6b11bb194292380d3
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/msc/gsm_04_80.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/osmocom/msc/gsm_04_80.h b/include/osmocom/msc/gsm_04_80.h index 7d630888f..c448c91d8 100644 --- a/include/osmocom/msc/gsm_04_80.h +++ b/include/osmocom/msc/gsm_04_80.h @@ -1,18 +1,10 @@ #pragma once -#include <osmocom/core/msgb.h> -#include <osmocom/gsm/protocol/gsm_04_80.h> -#include <osmocom/gsm/gsm0480.h> +#include <stdint.h> struct gsm_subscriber_connection; -int gsm0480_send_ussd_response(struct gsm_subscriber_connection *conn, - uint8_t transaction_id, uint8_t invoke_id, - const char *response_text); -int gsm0480_send_ussd_return_error(struct gsm_subscriber_connection *conn, - uint8_t transaction_id, uint8_t invoke_id, - uint8_t error_code); -int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, +int msc_send_ussd_reject(struct gsm_subscriber_connection *conn, uint8_t transaction_id, int invoke_id, uint8_t problem_tag, uint8_t problem_code); |