mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user