aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/ldisc.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-19 12:14:18 +0000
committermarha <marha@users.sourceforge.net>2010-11-19 12:14:18 +0000
commit6be86147f292b3178413bc644853ad80b620042e (patch)
treed972cbd73289e9b6e9574c5fd65c6830f67861c6 /tools/plink/ldisc.h
parent111cb82886d25b0b7faa526ce411cc8ef02235a6 (diff)
downloadvcxsrv-6be86147f292b3178413bc644853ad80b620042e.tar.gz
vcxsrv-6be86147f292b3178413bc644853ad80b620042e.tar.bz2
vcxsrv-6be86147f292b3178413bc644853ad80b620042e.zip
Reintegrate tools from trunk
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 */