]> git.sur5r.net Git - openocd/blobdiff - src/server/telnet_server.h
.cfg files are now executed as Jim Tcl. Commands that terminate script w/error message.
[openocd] / src / server / telnet_server.h
index 7b4b4a2236474c7c7418051360dd3ff5113e449e..83579f9d0164da85e9b217a4f7a53f85524675a2 100644 (file)
@@ -44,7 +44,6 @@ enum telnet_states
 typedef struct telnet_connection_s
 {
        char *prompt;
-       int suppress_prompt;
        enum telnet_states state;
        char line[TELNET_LINE_MAX_SIZE];
        int line_size;
@@ -55,6 +54,7 @@ typedef struct telnet_connection_s
        char *history[TELNET_LINE_HISTORY_SIZE];
        int next_history;
        int current_history;
+       int closed;
 } telnet_connection_t;
 
 typedef struct telnet_service_s