summaryrefslogtreecommitdiff
path: root/src/windows/wintel/struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/wintel/struct.h')
-rw-r--r--src/windows/wintel/struct.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/windows/wintel/struct.h b/src/windows/wintel/struct.h
new file mode 100644
index 000000000000..bc1cc49121b6
--- /dev/null
+++ b/src/windows/wintel/struct.h
@@ -0,0 +1,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;