]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - ldisc.h
first pass
[PuTTY.git] / ldisc.h
1 /*
2  * ldisc.h: defines the Ldisc data structure used by ldisc.c and
3  * ldiscucs.c. (Unfortunately it was necessary to split the ldisc
4  * module in two, to avoid unnecessarily linking in the Unicode
5  * stuff in tools that don't require it.)
6  */
7
8 #ifndef PUTTY_LDISC_H
9 #define PUTTY_LDISC_H
10
11 typedef struct ldisc_tag {
12     Terminal *term;
13     Backend *back;
14     void *backhandle;
15     void *frontend;
16
17     /*
18      * Values cached out of conf.
19      */
20     int telnet_keyboard, telnet_newline, protocol, localecho, localedit;
21
22     char *buf;
23     int buflen, bufsiz, quotenext;
24 } *Ldisc;
25
26 #endif /* PUTTY_LDISC_H */