summaryrefslogtreecommitdiffstats
path: root/lib/vty.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-05-13 02:09:08 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-06-06 18:15:34 +0200
commit01e24c4a69767eb12d3c23c9f8b58063cb04f4e1 (patch)
treeab66dfaeceb36fabb656d18f20105144de821f84 /lib/vty.h
parentlib: add string utilities (diff)
downloadfrr-01e24c4a69767eb12d3c23c9f8b58063cb04f4e1.tar.xz
frr-01e24c4a69767eb12d3c23c9f8b58063cb04f4e1.zip
lib: add hook for preprocessing commands
This patch adds a hook point intended to allow subscribers to modify the raw text of a CLI command before it is passed to the rest of the CLI pipeline. To give access to the raw text of the command, a new function for executing CLI has been defined whose only difference from `cmd_execute_command` is that it accepts the command to execute as a string rather than as a string vector. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions