Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 1 | /*! \file control_vty.h */ |
2 | |||||
Neels Hofmeyr | f81eb32 | 2016-02-24 00:10:41 +0100 | [diff] [blame] | 3 | #pragma once |
4 | |||||
5 | /* Add the 'ctrl' section to VTY, containing the 'bind' command. */ | ||||
6 | int 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. */ | ||||
11 | const char *ctrl_vty_get_bind_addr(void); |