diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/cli.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asterisk/cli.h b/include/asterisk/cli.h index 59d91ab8c..ba0596d84 100644 --- a/include/asterisk/cli.h +++ b/include/asterisk/cli.h @@ -226,7 +226,14 @@ char *ast_cli_complete(const char *word, char *const choices[], int pos); int ast_cli_command(int fd, const char *s); /*! - * \brief Registers a command or an array of commands + * \brief Executes multiple CLI commands + * Interpret strings separated by '\0' and execute each one, sending output to fd + * \param size is the total size of the string + * \retval number of commands executed + */ +int ast_cli_command_multiple(int fd, size_t size, const char *s); + +/*! \brief Registers a command or an array of commands * \param e which cli entry to register * Register your own command * \retval 0 on success |