aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/ctrl/control_vty.h
blob: d0ef69f45e87630a05663712a88b638c6a2048bc (plain)
1
2
3
4
5
6
7
8
9
#pragma once

/* Add the 'ctrl' section to VTY, containing the 'bind' command. */
int ctrl_vty_init(void *ctx);

/* Obtain the IP address configured by the 'ctrl'/'bind A.B.C.D' VTY command.
 * This should be fed to ctrl_interface_setup() once the configuration has been
 * read. */
const char *ctrl_vty_get_bind_addr(void);