summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/telnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/cli/telnet.h')
-rw-r--r--accel-pptpd/cli/telnet.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/accel-pptpd/cli/telnet.h b/accel-pptpd/cli/telnet.h
index eab156c..adbb7b9 100644
--- a/accel-pptpd/cli/telnet.h
+++ b/accel-pptpd/cli/telnet.h
@@ -5,12 +5,19 @@ struct client_t
{
struct list_head entry;
struct triton_md_handler_t hnd;
- uint8_t *recv_buf;
- int recv_pos;
struct list_head xmit_queue;
struct buffer_t *xmit_buf;
int xmit_pos;
+ struct list_head history;
+ struct list_head *history_pos;
+ uint8_t *cmdline;
+ int cmdline_pos;
+ int cmdline_pos2;
+ int cmdline_len;
int auth:1;
+ int echo:1;
+ int telcmd:1;
+ int esc:1;
};
int telnet_send(struct client_t *cln, const void *buf, int size);