diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-22 14:50:20 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-22 16:52:27 +0100 |
commit | 7c075a2f740919344ff70ae440c0b69c872ac6cc (patch) | |
tree | e129b22a16f4a094dfe231b4329757c4a97753df /include | |
parent | d6a769b51cb01f0a93fda9c792d7e1367e8e027b (diff) |
dissolve libcommon,libcommon-cs: clean up vty definitions
From openbsc.git, we still have osmo-msc's VTY definitions spread across
various places. Combine:
- Move the go_parent_cb() and is_config_node() to msc_main.c, drop
common_vty.c.
- Move all of vty_interface_layer3.c into msc_vty.c.
- Move all of common_cs_vty.c into msc_vty.c.
- Move bsc_vty_init_extra() into msc_vty_init().
- Drop some unused definitions
No functional nor cosmetic changes have been made in the moved code, plain
copy-paste moving (even though the unidiff might look like edits in some
places). I might have adjusted some blank lines though.
Change-Id: Ia818c00ab613a19a34080b160d763b55c19f76b1
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/common_cs.h | 6 | ||||
-rw-r--r-- | include/osmocom/msc/vty.h | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/osmocom/msc/common_cs.h b/include/osmocom/msc/common_cs.h index 273a8fe98..fddc6ece1 100644 --- a/include/osmocom/msc/common_cs.h +++ b/include/osmocom/msc/common_cs.h @@ -7,8 +7,6 @@ struct gsm_network; typedef int (*mncc_recv_cb_t)(struct gsm_network *, struct msgb *); -struct vty; - #define MAX_A5_KEY_LEN (128/8) struct gsm_encr { @@ -18,7 +16,3 @@ struct gsm_encr { }; struct gsm_network *gsm_network_init(void *ctx, mncc_recv_cb_t mncc_recv); - -int common_cs_vty_init(struct gsm_network *network, - int (* config_write_net )(struct vty *)); -struct gsm_network *gsmnet_from_vty(struct vty *v); diff --git a/include/osmocom/msc/vty.h b/include/osmocom/msc/vty.h index ff85fa061..6a55df776 100644 --- a/include/osmocom/msc/vty.h +++ b/include/osmocom/msc/vty.h @@ -25,10 +25,6 @@ enum bsc_vty_node { HLR_NODE, }; -extern int bsc_vty_is_config_node(struct vty *vty, int node); - -struct log_info; -int bsc_vty_init(struct gsm_network *network); int bsc_vty_init_extra(void); void msc_vty_init(struct gsm_network *msc_network); |