summaryrefslogtreecommitdiff
path: root/src/helper/command.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-27 06:58:45 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-06-27 06:58:45 +0000
commitb754eac35ac15b1dd7dc07ac31efd4329856a626 (patch)
tree8b9a6b01e203be8cb12794ab1a77bbbb39f77ca0 /src/helper/command.h
parenta78762e786bd21d6fc855e23bf87036369582316 (diff)
downloadopenocd_libswd-b754eac35ac15b1dd7dc07ac31efd4329856a626.tar.gz
openocd_libswd-b754eac35ac15b1dd7dc07ac31efd4329856a626.tar.bz2
openocd_libswd-b754eac35ac15b1dd7dc07ac31efd4329856a626.tar.xz
openocd_libswd-b754eac35ac15b1dd7dc07ac31efd4329856a626.zip
hooks to enable experimentation with scripting language support. Reduces patch size, but has no effect on OpenOCD otherwise.
git-svn-id: svn://svn.berlios.de/openocd/trunk@733 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/command.h')
-rw-r--r--src/helper/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/command.h b/src/helper/command.h
index ed6a96a7..c468247c 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -74,6 +74,7 @@ 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_line_internal(command_context_t *context, char *line);
extern int command_run_file(command_context_t *context, FILE *file, enum command_mode mode);