From a06be2d07792f6a995faf10df254898a840297fe Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 6 Aug 2014 09:37:38 +0200 Subject: cli: Export cli_simple_process_macros for use outside of cli_simple Signed-off-by: Hans de Goede --- include/cli.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/cli.h b/include/cli.h index 699426252c8..6da7a4afdb1 100644 --- a/include/cli.h +++ b/include/cli.h @@ -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 * -- cgit v1.3.1