summaryrefslogtreecommitdiffstats
path: root/src/windows/wintel/struct.h
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-03-28 04:51:52 +0000
committerKeith Vetter <keithv@fusion.com>1995-03-28 04:51:52 +0000
commitb947261e618d7519f97e06fe95fd7fb2cc796d52 (patch)
tree5ad52aaae622cc5985bda2fe8845cef7c4677f98 /src/windows/wintel/struct.h
parenteb93e57f80a7347d8d92d3bebc2c24c395cc89a8 (diff)
downloadkrb5-b947261e618d7519f97e06fe95fd7fb2cc796d52.tar.gz
krb5-b947261e618d7519f97e06fe95fd7fb2cc796d52.tar.xz
krb5-b947261e618d7519f97e06fe95fd7fb2cc796d52.zip
Added windows/wintel directory for the windows telnet program
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5278 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/wintel/struct.h')
-rw-r--r--src/windows/wintel/struct.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/windows/wintel/struct.h b/src/windows/wintel/struct.h
new file mode 100644
index 000000000..b31fa9a7c
--- /dev/null
+++ b/src/windows/wintel/struct.h
@@ -0,0 +1,30 @@
+#include "winsock.h"
+#ifdef KRB4
+ #include "kstream.h"
+#endif
+#ifdef KRB5
+ #include "k5stream.h"
+#endif
+
+#define HCONNECTION HGLOBAL
+
+typedef struct CONNECTION {
+ HSCREEN hScreen; // 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;
+