cli: Export cli_simple_process_macros for use outside of cli_simple

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede
2014-08-06 09:37:38 +02:00
committed by Tom Rini
parent b0d7beefc1
commit a06be2d077
2 changed files with 10 additions and 2 deletions

View File

@ -30,6 +30,14 @@ void cli_simple_loop(void);
*/
int cli_simple_run_command(const char *cmd, int flag);
/**
* cli_simple_process_macros() - Expand $() and ${} format env. variables
*
* @param input Input string possible containing $() / ${} vars
* @param output Output string with $() / ${} vars expanded
*/
void cli_simple_process_macros(const char *input, char *output);
/**
* cli_simple_run_command_list() - Execute a list of command
*