diff options
Diffstat (limited to 'include/osmocom/bsc/ctrl.h')
-rw-r--r-- | include/osmocom/bsc/ctrl.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/osmocom/bsc/ctrl.h b/include/osmocom/bsc/ctrl.h index 04ca2cb5a..86d1bdae4 100644 --- a/include/osmocom/bsc/ctrl.h +++ b/include/osmocom/bsc/ctrl.h @@ -2,8 +2,18 @@ #include <osmocom/ctrl/control_cmd.h> -struct ctrl_handle *bsc_controlif_setup(struct gsm_network *net, - const char *bind_addr, uint16_t port); +struct gsm_network; +struct gsm_bts; +struct bsc_msc_data; + +struct ctrl_handle *bsc_controlif_setup(struct gsm_network *net, uint16_t port); + +/* Used internally in different ctrl source code files: */ +int bsc_bts_ctrl_cmds_install(void); +int bsc_bts_trx_ctrl_cmds_install(void); +void ctrl_generate_bts_location_state_trap(struct gsm_bts *bts, struct bsc_msc_data *msc); +void osmo_bsc_send_trap(struct ctrl_cmd *cmd, struct bsc_msc_data *msc_data); + enum bsc_ctrl_node { CTRL_NODE_MSC = _LAST_CTRL_NODE, |