diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-17 07:59:38 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-17 07:59:38 +0200 |
commit | 0ece5135fef56dbd0d94957c334655a57adb7212 (patch) | |
tree | 1c261acf4f8c69df7e12edfe1741c10eebebac65 /redir.h | |
parent | 6d5a429ab96363aeeb9a91a5ab8fddddf14e2aaa (diff) | |
download | amtterm-0ece5135fef56dbd0d94957c334655a57adb7212.tar.gz |
decode 0x29 message
Contributed by Donald Porter.
Diffstat (limited to 'redir.h')
-rw-r--r-- | redir.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include "RedirectionConstants.h" +#include <stdint.h> enum redir_state { REDIR_NONE = 0, @@ -38,6 +39,14 @@ struct redir { int (*cb_recv)(void *cb_data, unsigned char *buf, int len); }; +struct __attribute__ ((__packed__)) controls_from_host_message { + unsigned char type; // 0x29 + unsigned char reserved[3]; + uint32_t host_sequence_number; + unsigned char control; + unsigned char status; +}; + const char *redir_state_name(enum redir_state state); const char *redir_state_desc(enum redir_state state); |