diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-02-13 23:59:59 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-14 00:28:02 +0100 |
commit | d5db170261a26b1b9e39eef5f02d4733af1733a3 (patch) | |
tree | a8fccf7b91d5c1ff88284c439610de83d1ed17eb /include | |
parent | c93ce02042512c2e5314968b572746d7e6ec25e0 (diff) |
remove bsc_api.h and all users - they're all dead code
Related: OS#2528
Change-Id: I332aa8697c98a0d7b3db65f98711275da3d381d7
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/Makefile.am | 1 | ||||
-rw-r--r-- | include/osmocom/msc/bsc_api.h | 49 | ||||
-rw-r--r-- | include/osmocom/msc/gsm_data.h | 1 | ||||
-rw-r--r-- | include/osmocom/msc/gsm_data_shared.h | 1 | ||||
-rw-r--r-- | include/osmocom/msc/osmo_msc.h | 4 |
5 files changed, 0 insertions, 56 deletions
diff --git a/include/osmocom/msc/Makefile.am b/include/osmocom/msc/Makefile.am index d31883ac4..f0e24c420 100644 --- a/include/osmocom/msc/Makefile.am +++ b/include/osmocom/msc/Makefile.am @@ -1,7 +1,6 @@ noinst_HEADERS = \ a_iface.h \ a_iface_bssap.h \ - bsc_api.h \ common.h \ common_cs.h \ db.h \ diff --git a/include/osmocom/msc/bsc_api.h b/include/osmocom/msc/bsc_api.h deleted file mode 100644 index 4936f5367..000000000 --- a/include/osmocom/msc/bsc_api.h +++ /dev/null @@ -1,49 +0,0 @@ -/* GSM 08.08 like API for OpenBSC */ - -#ifndef OPENBSC_BSC_API_H -#define OPENBSC_BSC_API_H - -#include "gsm_data.h" - -#define BSC_API_CONN_POL_ACCEPT 0 -#define BSC_API_CONN_POL_REJECT 1 - -struct bsc_api { - /*! \brief BTS->MSC: tell MSC a SAPI was not established */ - void (*sapi_n_reject)(struct gsm_subscriber_connection *conn, int dlci); - /*! \brief MS->MSC: Tell MSC that ciphering has been enabled */ - void (*cipher_mode_compl)(struct gsm_subscriber_connection *conn, - struct msgb *msg, uint8_t chosen_encr); - /*! \brief MS->MSC: New MM context with L3 payload */ - int (*compl_l3)(struct gsm_subscriber_connection *conn, - struct msgb *msg, uint16_t chosen_channel); - /*! \brief MS->BSC/MSC: Um L3 message */ - void (*dtap)(struct gsm_subscriber_connection *conn, uint8_t link_id, - struct msgb *msg); - /*! \brief BSC->MSC: Assignment of lchan successful */ - void (*assign_compl)(struct gsm_subscriber_connection *conn, - uint8_t rr_cause, uint8_t chosen_channel, - uint8_t encr_alg_id, uint8_t speech_mode); - /*! \brief BSC->MSC: Assignment of lchan failed */ - void (*assign_fail)(struct gsm_subscriber_connection *conn, - uint8_t cause, uint8_t *rr_cause); - /*! \brief BSC->MSC: RR conn has been cleared */ - int (*clear_request)(struct gsm_subscriber_connection *conn, - uint32_t cause); - /*! \brief BSC->MSC: Classmark Update */ - void (*classmark_chg)(struct gsm_subscriber_connection *conn, - const uint8_t *cm2, uint8_t cm2_len, - const uint8_t *cm3, uint8_t cm3_len); - - /** - * Configure the multirate setting on this channel. If it is - * not implemented AMR5.9 will be used. - */ - void (*mr_config)(struct gsm_subscriber_connection *conn, - struct gsm_lchan *lchan, int full_rate); - - /** Callback for additional actions during conn cleanup */ - void (*conn_cleanup)(struct gsm_subscriber_connection *conn); -}; - -#endif diff --git a/include/osmocom/msc/gsm_data.h b/include/osmocom/msc/gsm_data.h index 3e4b5a886..561cf3d47 100644 --- a/include/osmocom/msc/gsm_data.h +++ b/include/osmocom/msc/gsm_data.h @@ -344,7 +344,6 @@ struct gsm_network { * we have a subscriber connection. */ struct llist_head trans_list; - struct bsc_api *bsc_api; unsigned int paging_response_timer; diff --git a/include/osmocom/msc/gsm_data_shared.h b/include/osmocom/msc/gsm_data_shared.h index 68b36ab4d..857946dc9 100644 --- a/include/osmocom/msc/gsm_data_shared.h +++ b/include/osmocom/msc/gsm_data_shared.h @@ -44,7 +44,6 @@ enum gsm_paging_event { struct gsm_mncc; struct osmo_rtp_socket; struct rtp_socket; -struct bsc_api; /* * help with parsing regexps diff --git a/include/osmocom/msc/osmo_msc.h b/include/osmocom/msc/osmo_msc.h index 2fa8c46c5..2b019e1bc 100644 --- a/include/osmocom/msc/osmo_msc.h +++ b/include/osmocom/msc/osmo_msc.h @@ -8,8 +8,6 @@ #include <osmocom/msc/gsm_data.h> -#include "bsc_api.h" - #define MSC_HLR_REMOTE_IP_DEFAULT "127.0.0.1" #define MSC_HLR_REMOTE_PORT_DEFAULT OSMO_GSUP_PORT @@ -56,8 +54,6 @@ enum msc_compl_l3_rc { MSC_CONN_REJECT = 1, }; -struct bsc_api *msc_bsc_api(); - int msc_create_conn_fsm(struct gsm_subscriber_connection *conn, const char *id); int msc_vlr_alloc(struct gsm_network *net); |