X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fcommand.h;h=3acb8b1821b72eec8bd91aaf015987145fd80439;hp=de90d4ae4d03d12e5498a87331a8ea59e7092afa;hb=0689e3dd6752f45f493eceb3edf040fbc7849846;hpb=b70e262867b724f7d265f0c6b206801a29ba284b diff --git a/src/helper/command.h b/src/helper/command.h index de90d4ae4d..3acb8b1821 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -34,7 +34,6 @@ typedef struct command_context_s enum command_mode mode; struct command_s *commands; int current_target; - int echo; int (*output_handler)(struct command_context_s *context, char* line); void *output_handler_priv; } command_context_t; @@ -58,6 +57,7 @@ extern command_context_t* copy_command_context(command_context_t* context); extern command_context_t* command_init(); extern int command_done(command_context_t *context); extern void command_print(command_context_t *context, char *format, ...); +extern void command_print_sameline(command_context_t *context, char *format, ...); extern int command_run_line(command_context_t *context, char *line); extern int command_run_file(command_context_t *context, FILE *file, enum command_mode mode);