Add a Config * argument to ldisc_create(), and use it in place of the global
[u/mdw/putty] / 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 Config *cfg;
15 void *backhandle;
16 void *frontend;
17
18 char *buf;
19 int buflen, bufsiz, quotenext;
20 } *Ldisc;
21
22 #endif /* PUTTY_LDISC_H */