Richard points out that it would probably help if I committed
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 26 Oct 2002 12:42:07 +0000 (12:42 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 26 Oct 2002 12:42:07 +0000 (12:42 +0000)
ldisc.h. Bah. :-)

git-svn-id: svn://svn.tartarus.org/sgt/putty@2146 cda61777-01e9-0310-a592-d414129be87e

ldisc.h [new file with mode: 0644]

diff --git a/ldisc.h b/ldisc.h
new file mode 100644 (file)
index 0000000..aa904ed
--- /dev/null
+++ b/ldisc.h
@@ -0,0 +1,21 @@
+/*
+ * 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;
+    void *backhandle;
+    void *frontend;
+
+    char *buf;
+    int buflen, bufsiz, quotenext;
+} *Ldisc;
+
+#endif /* PUTTY_LDISC_H */