diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-05-22 00:29:16 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2020-05-29 20:16:40 +0000 |
commit | bf4134edaf4e27ce34cbb37f84145141cf0b2135 (patch) | |
tree | 9bab3a6e83c1afa7c383f7d638e09194db1eee07 /include/osmocom | |
parent | 962cb637fcb28f684dbd42dbd26eafcf18b9b722 (diff) |
drop CC 'local-prefix' feature
It is not entirely clear to me what this used to do once, but I've stumbled
upon this before. By now I am certain that this is a non-standard legacy
feature. The BSC does *not* redirect connections during CC transactions.
Along with this, a bunch of legacy utility functions can be dropped. All of
this is unused code.
(Preparing for MSC pooling.)
Change-Id: Id54afe8ccf0e11b9121a733224054c9565eafb58
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/bsc_msc_data.h | 6 | ||||
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/osmocom/bsc/bsc_msc_data.h b/include/osmocom/bsc/bsc_msc_data.h index c77c562c4..27eb75d51 100644 --- a/include/osmocom/bsc/bsc_msc_data.h +++ b/include/osmocom/bsc/bsc_msc_data.h @@ -45,7 +45,6 @@ #include <osmocom/core/fsm.h> #include <osmocom/gsm/gsm23003.h> -#include <regex.h> #include <errno.h> struct osmo_bsc_rf; @@ -121,11 +120,6 @@ struct bsc_msc_data { int allow_emerg; int type; - /* local call routing */ - char *local_pref; - regex_t local_pref_reg; - - /* Connection data */ struct osmo_plmn_id core_plmn; int core_lac; diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 07a0c9d8a..47849357f 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -2,7 +2,6 @@ #define _GSM_DATA_H #include <stdint.h> -#include <regex.h> #include <sys/types.h> #include <stdbool.h> #include <stdint.h> @@ -1362,12 +1361,6 @@ void gsm48_lchan2chan_desc_as_configured(struct gsm48_chan_desc *cd, const struc /* return the gsm_lchan for the CBCH (if it exists at all) */ struct gsm_lchan *gsm_bts_get_cbch(struct gsm_bts *bts); -/* - * help with parsing regexps - */ -int gsm_parse_reg(void *ctx, regex_t *reg, char **str, - int argc, const char **argv) __attribute__ ((warn_unused_result)); - static inline uint8_t gsm_ts_tsc(const struct gsm_bts_trx_ts *ts) { if (ts->tsc != -1) |