Sebastian Kuschel reports that pfd_closing can be called for a socket
[u/mdw/putty] / ldisc.h
CommitLineData
a4f046e1 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
11typedef struct ldisc_tag {
12 Terminal *term;
13 Backend *back;
14 void *backhandle;
15 void *frontend;
16
4a693cfc 17 /*
18 * Values cached out of conf.
19 */
20 int telnet_keyboard, telnet_newline, protocol, localecho, localedit;
21
a4f046e1 22 char *buf;
23 int buflen, bufsiz, quotenext;
24} *Ldisc;
25
26#endif /* PUTTY_LDISC_H */