diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2022-06-09 15:53:24 +0200 |
---|---|---|
committer | pespin <pespin@sysmocom.de> | 2022-06-10 11:30:29 +0000 |
commit | 927c052136546c63c3e0891c1dc0734337ddd9b6 (patch) | |
tree | 36e977ed48933d62cd0ab94d7265b21effa2a1c5 /include | |
parent | 5f2dd6a87686486ed6558567256ab4b01149922d (diff) |
Move all SMSCB/CBC vty code to its own file
This way we separate all the VTY boilerplate from the actual logic, as
we usually do in all other subsystems.
Change-Id: Ifc7d1693d745dd2a3c31e3ee9610d8c634b50812
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/smscb.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osmocom/bsc/smscb.h b/include/osmocom/bsc/smscb.h index 0e157c618..03c3bb09e 100644 --- a/include/osmocom/bsc/smscb.h +++ b/include/osmocom/bsc/smscb.h @@ -18,7 +18,6 @@ int cbsp_tx_restart(struct bsc_cbc_link *cbc, bool is_emerg); const char *bts_smscb_chan_state_name(const struct bts_smscb_chan_state *cstate); unsigned int bts_smscb_chan_load_percent(const struct bts_smscb_chan_state *cstate); unsigned int bts_smscb_chan_page_count(const struct bts_smscb_chan_state *cstate); -void smscb_vty_init(void); /* cbch_scheduler.c */ int bts_smscb_gen_sched_arr(struct bts_smscb_chan_state *cstate, struct bts_smscb_page ***arr_out); @@ -61,9 +60,12 @@ struct bsc_cbc_link { struct msgb *msg; } client; }; -void cbc_vty_init(void); int bsc_cbc_link_restart(void); int cbsp_tx_decoded(struct bsc_cbc_link *cbc, struct osmo_cbsp_decoded *decoded); void bts_etws_init(struct gsm_bts *bts); void bts_etws_bootstrap(struct gsm_bts *bts); + +/* smscb_vty.c: */ +void smscb_vty_init(void); +void cbc_vty_init(void); |