X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fserver%2Ftelnet_server.h;h=541d720d4b8ee2918c8a9cd847f3801cad01cb05;hb=af84cd33a2e0b8af31d4c7dbd64cfd0348d65a0e;hp=d6ca0e86cb5de7e710a9f214b6e185f5f9884562;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702;p=openocd.git diff --git a/src/server/telnet_server.h b/src/server/telnet_server.h index d6ca0e86cb..541d720d4b 100644 --- a/src/server/telnet_server.h +++ b/src/server/telnet_server.h @@ -2,6 +2,12 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * + * Copyright (C) 2007,2008 Øyvind Harboe * + * oyvind.harboe@zylin.com * + * * + * Copyright (C) 2008 by Spencer Oliver * + * spen@spen-soft.co.uk * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -44,7 +50,6 @@ enum telnet_states typedef struct telnet_connection_s { char *prompt; - int surpress_prompt; enum telnet_states state; char line[TELNET_LINE_MAX_SIZE]; int line_size; @@ -55,6 +60,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