blob: bc1cc49121b6b811bd32fa56924503dcd6054fe3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "winsock.h"
#ifdef KRB4
#include "kstream.h"
#endif
#ifdef KRB5
#include "k5stream.h"
#endif
#define HCONNECTION HGLOBAL
typedef struct CONNECTION {
SCREEN *pScreen; /* handle to screen associated with connection */
kstream ks;
SOCKET socket;
int pnum; /* port number associated with connection */
int telstate; /* telnet state for this connection */
int substate; /* telnet subnegotiation state */
int termsent;
int echo;
int ugoahead;
int igoahead;
int timing;
int backspace;
int ctrl_backspace;
int termstate; /* terminal type for this connection */
int width;
int height;
BOOL bResizeable;
} CONNECTION;
|