X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fcli.h;h=6da7a4afdb1199dee24be9aa343c5a4a94b14c44;hb=9597494ebfb60418e8a0e7565cca2b7d25512bf5;hp=699426252c82b11eb9e7955184612f12c12667e8;hpb=dab5e3469d294a4e1ffed8407d296a78e02cc01f;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/cli.h b/include/cli.h index 6994262..6da7a4a 100644 --- a/include/cli.h +++ b/include/cli.h @@ -31,6 +31,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 * * The commands should be separated by ; or \n and will be executed