From 5e229bbf87fbb5a809553526edf0186dd3dd5cf8 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Tue, 17 Nov 2009 09:15:09 -0800 Subject: 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. --- src/openocd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/openocd.h') diff --git a/src/openocd.h b/src/openocd.h index 1bf6b7e6..70e3ee01 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 -- cgit v1.2.3