summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/telnet.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-13 15:09:35 +0300
committerKozlov Dmitry <dima@server>2010-11-13 15:09:35 +0300
commited0ad05fccab77caf9f26160c2fbd5f830e5b13c (patch)
treef57122d492c8c60531cb4ce21e2c9fa22df70094 /accel-pptpd/cli/telnet.h
parent1873cf67a900b521021ccd4ae87c0821a64a408d (diff)
downloadaccel-ppp-xebd-ed0ad05fccab77caf9f26160c2fbd5f830e5b13c.tar.gz
accel-ppp-xebd-ed0ad05fccab77caf9f26160c2fbd5f830e5b13c.zip
cli: implemented tcp frontend to send batch commands
Diffstat (limited to 'accel-pptpd/cli/telnet.h')
-rw-r--r--accel-pptpd/cli/telnet.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/accel-pptpd/cli/telnet.h b/accel-pptpd/cli/telnet.h
deleted file mode 100644
index 24515d3..0000000
--- a/accel-pptpd/cli/telnet.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef __TELNET_H
-#define __TELNET_H
-
-#include <stdarg.h>
-
-struct client_t
-{
- struct list_head entry;
- struct triton_md_handler_t hnd;
- 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 disconnect:1;
-};
-
-int telnet_send(struct client_t *cln, const void *buf, int size);
-int telnet_sendv(struct client_t *cln, const char *fmt, va_list ap);
-void telnet_disconnect(struct client_t *cln);
-int process_cmd(struct client_t *cln);
-
-#endif
-