blob: af9ee991f92877dcfd16256fdf95c854954ed15c [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file control_vty.h */
2
Neels Hofmeyrf81eb322016-02-24 00:10:41 +01003#pragma once
4
5/* Add the 'ctrl' section to VTY, containing the 'bind' command. */
6int ctrl_vty_init(void *ctx);
7
8/* Obtain the IP address configured by the 'ctrl'/'bind A.B.C.D' VTY command.
9 * This should be fed to ctrl_interface_setup() once the configuration has been
10 * read. */
11const char *ctrl_vty_get_bind_addr(void);