libosmocore/include/osmocom/vty
Holger Hans Peter Freyther 99ae401e49 vty: Make TCP port configurable and introduce telnet_init_default
Extend the vty_bind_cmd VTY command to allow to optionally specify
a port in addition to the IPv4 address.

Introduce telnet_init_default to relieve client code from having
to query the bind IPv4 address (and now the TCP port). Instead a
client only needs to pass the default TCP port to use.

Client code should use it like:

	int rc = telnet_init_default(ctx, priv, OSMO_VTY_PORT_SGSN);

Change-Id: Id5fb2faaf4311bd7284ee870526a6f87b7e260f3
2018-12-23 04:20:08 +00:00
..
buffer.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
command.h vty/command.h: document and prettify CMD_ATTR_* flags 2018-09-24 13:02:07 +07:00
logging.h vty: Add logging_vty_add_deprecated_subsys 2018-06-09 17:43:33 +02:00
misc.h introduce vty_out_rate_ctr_group_fmt() function 2018-05-24 18:04:56 +02:00
ports.h ports.h: Add ctrl port for osmo-gbproxy 2018-05-29 21:02:16 +02:00
stats.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
telnet_interface.h vty: Make TCP port configurable and introduce telnet_init_default 2018-12-23 04:20:08 +00:00
vector.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
vty.h vty: Make TCP port configurable and introduce telnet_init_default 2018-12-23 04:20:08 +00:00