aboutsummaryrefslogtreecommitdiff
path: root/src/openocd.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-17 09:15:09 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-18 07:22:22 -0800
commit5e229bbf87fbb5a809553526edf0186dd3dd5cf8 (patch)
tree4abbfa0e0deeccbd2ae0052df247d8743548496d /src/openocd.h
parentcb7dbc1af41068f826246beb53870c01d8973bb8 (diff)
downloadriscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.zip
riscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.tar.gz
riscv-openocd-5e229bbf87fbb5a809553526edf0186dd3dd5cf8.tar.bz2
pass startup_tcl to command_init
Removes external linkage from helper module, making the startup code a parameter to a new command context's initialization routine.
Diffstat (limited to 'src/openocd.h')
-rw-r--r--src/openocd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openocd.h b/src/openocd.h
index 1bf6b7e..70e3ee0 100644
--- a/src/openocd.h
+++ b/src/openocd.h
@@ -36,4 +36,7 @@ void openocd_sleep_prelude(void);
/// used by the server_loop() function in src/server/server.c
void openocd_sleep_postlude(void);
+/// provides a hard-coded command environment setup
+extern const char *openocd_startup_tcl;
+
#endif