]> git.sur5r.net Git - openocd/blobdiff - src/server/server.h
.cfg files are now executed as Jim Tcl. Commands that terminate script w/error message.
[openocd] / src / server / server.h
index ddf0b97d5e472b510e3607ce37106711f3943112..2543f22f8d013eab1c465d497889982e560b2ec1 100644 (file)
@@ -30,6 +30,7 @@ enum connection_type
 {
        CONNECTION_GDB,
        CONNECTION_TELNET,
+       CONNECTION_TCL,
 };
 
 typedef struct connection_s
@@ -65,6 +66,7 @@ typedef struct service_s
 
 extern int add_service(char *name, enum connection_type type, unsigned short port, int max_connections, new_connection_handler_t new_connection_handler, input_handler_t input_handler, connection_closed_handler_t connection_closed_handler, void *priv);
 extern int server_init();
+extern int server_quit();
 extern int server_loop(command_context_t *command_context);
 extern int server_register_commands(command_context_t *context);