aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/ldisc.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-08-07 12:33:59 +0000
committermarha <marha@users.sourceforge.net>2009-08-07 12:33:59 +0000
commite7e9a66629ada359ad6a35cdb12e0e35b49e889c (patch)
treea93f38125aee1970e8a41bd23f4abc9162deeaee /tools/plink/ldisc.h
parent527d85e0327133858ddb86169f2840f305c192b3 (diff)
downloadvcxsrv-e7e9a66629ada359ad6a35cdb12e0e35b49e889c.tar.gz
vcxsrv-e7e9a66629ada359ad6a35cdb12e0e35b49e889c.tar.bz2
vcxsrv-e7e9a66629ada359ad6a35cdb12e0e35b49e889c.zip
Added plink tool (version without console, except if output is generated)
Added possibility to build console application or windows application in makefile.after
Diffstat (limited to 'tools/plink/ldisc.h')
-rw-r--r--tools/plink/ldisc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/plink/ldisc.h b/tools/plink/ldisc.h
new file mode 100644
index 000000000..ef84f6d6d
--- /dev/null
+++ b/tools/plink/ldisc.h
@@ -0,0 +1,22 @@
+/*
+ * ldisc.h: defines the Ldisc data structure used by ldisc.c and
+ * ldiscucs.c. (Unfortunately it was necessary to split the ldisc
+ * module in two, to avoid unnecessarily linking in the Unicode
+ * stuff in tools that don't require it.)
+ */
+
+#ifndef PUTTY_LDISC_H
+#define PUTTY_LDISC_H
+
+typedef struct ldisc_tag {
+ Terminal *term;
+ Backend *back;
+ Config *cfg;
+ void *backhandle;
+ void *frontend;
+
+ char *buf;
+ int buflen, bufsiz, quotenext;
+} *Ldisc;
+
+#endif /* PUTTY_LDISC_H */