mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
This a cosmetic commit, copying libosmo-legacy-mgcp to libosmo-mgcp and osmo-bsc_mgcp to osmo-mgw 1:1 at first, to provide a basis for next patches that highlight the changes from legacy to new code. Until osmo-msc and osmo-bsc are adjusted to operate with the new code, we will keep the legacy code alongside the new code. The legacy code might be dropped later. Change-Id: Idf54481754a1765bdb2d0d7033bc0d7dc2018024
32 lines
707 B
C
32 lines
707 B
C
#ifndef OPENBSC_VTY_H
|
|
#define OPENBSC_VTY_H
|
|
|
|
#include <osmocom/vty/vty.h>
|
|
#include <osmocom/vty/buffer.h>
|
|
#include <osmocom/vty/command.h>
|
|
|
|
struct gsm_network;
|
|
struct vty;
|
|
|
|
void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *);
|
|
|
|
struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base);
|
|
|
|
extern struct cmd_element cfg_description_cmd;
|
|
extern struct cmd_element cfg_no_description_cmd;
|
|
|
|
enum mgcp_vty_node {
|
|
MGCP_NODE = _LAST_OSMOVTY_NODE + 1,
|
|
TRUNK_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);
|
|
|
|
struct gsm_network *gsmnet_from_vty(struct vty *vty);
|
|
|
|
#endif
|