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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pptpd/cli/telnet.h b/accel-pptpd/cli/telnet.h
index adbb7b90..24515d3e 100644
--- a/accel-pptpd/cli/telnet.h
+++ b/accel-pptpd/cli/telnet.h
@@ -1,6 +1,8 @@
#ifndef __TELNET_H
#define __TELNET_H
+#include <stdarg.h>
+
struct client_t
{
struct list_head entry;
@@ -18,9 +20,11 @@ struct client_t
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);