projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stlink: fix vector catch not being cleared
[fw/openocd]
/
src
/
openocd.h
diff --git
a/src/openocd.h
b/src/openocd.h
index 1bf6b7e6f1a06e8634ed0485a87aa95fd6a85088..80331157c12836a28992520e1beb38b6032eb250 100644
(file)
--- a/
src/openocd.h
+++ b/
src/openocd.h
@@
-21,7
+21,7
@@
#ifndef OPENOCD_H
#define OPENOCD_H
#ifndef OPENOCD_H
#define OPENOCD_H
-/**
+/**
* Different applications can define this entry point to override
* the default openocd main function. On most systems, this will be
* defined in src/openocd.c.
* Different applications can define this entry point to override
* the default openocd main function. On most systems, this will be
* defined in src/openocd.c.
@@
-31,9
+31,7
@@
*/
int openocd_main(int argc, char *argv[]);
*/
int openocd_main(int argc, char *argv[]);
-/// used by the server_loop() function in src/server/server.c
-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
#endif