X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fserver%2Ftelnet_server.h;h=83579f9d0164da85e9b217a4f7a53f85524675a2;hp=7b4b4a2236474c7c7418051360dd3ff5113e449e;hb=c317ffe2435236754a80c856dee688cb09ac425e;hpb=a32de76d61304b310d4ef16278ef3f50f6402d85 diff --git a/src/server/telnet_server.h b/src/server/telnet_server.h index 7b4b4a2236..83579f9d01 100644 --- a/src/server/telnet_server.h +++ b/src/server/telnet_server.h @@ -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