X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fcli.h;h=6da7a4afdb1199dee24be9aa343c5a4a94b14c44;hb=293eac363d7866948d6a99b13d4c53c5ccc00132;hp=699426252c82b11eb9e7955184612f12c12667e8;hpb=90b51c33f362926e17d4c07dcef1ce822abaa89f;p=oweals%2Fu-boot.git diff --git a/include/cli.h b/include/cli.h index 699426252c..6da7a4afdb 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 *