diff options
author | root <root@phone01.(none)> | 2010-09-26 20:32:34 +0200 |
---|---|---|
committer | root <root@phone01.(none)> | 2010-09-26 20:32:34 +0200 |
commit | 0543208957f3f1a14f66d0c70fcc813e779f7638 (patch) | |
tree | 95f23d46c20688ad874a659274affe1f45c7a21e /mactelnet.h | |
parent | d0b22a46b53c968de3ec85022251f318d97e6b27 (diff) | |
download | MAC-Telnet-0543208957f3f1a14f66d0c70fcc813e779f7638.tar.gz MAC-Telnet-0543208957f3f1a14f66d0c70fcc813e779f7638.zip |
Working login, buggy terminal-data reception
Diffstat (limited to 'mactelnet.h')
-rw-r--r-- | mactelnet.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mactelnet.h b/mactelnet.h index 5227718..685cb6b 100644 --- a/mactelnet.h +++ b/mactelnet.h @@ -17,6 +17,8 @@ #define MT_CPTYPE_TERM_HEIGHT 6 #define MT_CPTYPE_PACKET_ERROR 7 #define MT_CPTYPE_END_AUTH 9 +// Internal CPTYPE, not part of protocol +#define MT_CPTYPE_PLAINDATA -1 struct mt_mactelnet_hdr { unsigned char ver; @@ -28,4 +30,10 @@ struct mt_mactelnet_hdr { unsigned char *data; }; +struct mt_mactelnet_control_hdr { + signed char cptype; + unsigned int length; + unsigned char *data; +}; + #endif |