diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-12 20:09:08 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-06-06 16:15:34 +0000 |
| commit | 01e24c4a69767eb12d3c23c9f8b58063cb04f4e1 (patch) | |
| tree | ab66dfaeceb36fabb656d18f20105144de821f84 /lib/vector.c | |
| parent | fe011935cdeda14b61297e72bc30eae46ccd4f55 (diff) | |
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 'lib/vector.c')
0 files changed, 0 insertions, 0 deletions
