typedef struct telnet_connection_s
{
char *prompt;
- int suppress_prompt;
enum telnet_states state;
char line[TELNET_LINE_MAX_SIZE];
int line_size;
char *history[TELNET_LINE_HISTORY_SIZE];
int next_history;
int current_history;
+ int closed;
} telnet_connection_t;
typedef struct telnet_service_s