X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fopenocd.h;h=57bf4551268ea26812a9811af951ce24a00b7976;hp=1bf6b7e6f1a06e8634ed0485a87aa95fd6a85088;hb=8e4c80c17d6abea8754ab29aa5285ae10e6e273b;hpb=4088b1e622cff0673f2859de5ee611da736bdba7 diff --git a/src/openocd.h b/src/openocd.h index 1bf6b7e6f1..57bf455126 100644 --- a/src/openocd.h +++ b/src/openocd.h @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #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. @@ -31,9 +31,7 @@ */ 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