summaryrefslogtreecommitdiffstats
path: root/redir.h
diff options
context:
space:
mode:
authorkraxel <kraxel>2007-08-15 09:00:53 +0000
committerkraxel <kraxel>2007-08-15 09:00:53 +0000
commit4ca0cdb896b4464d216217d32663fcc8b4ba2b95 (patch)
tree732b8ba0dc2e40921d9f759186985ebb0e2771cd /redir.h
parent5bc4eff900064b6ce465229ab1fea768c149549f (diff)
downloadamtterm-4ca0cdb896b4464d216217d32663fcc8b4ba2b95.tar.gz
more gui work
Diffstat (limited to 'redir.h')
-rw-r--r--redir.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/redir.h b/redir.h
index 69a589a..f32f6ee 100644
--- a/redir.h
+++ b/redir.h
@@ -15,17 +15,20 @@ enum redir_state {
};
struct redir {
- int sock;
- int verbose;
+ /* host connection */
unsigned char host[64];
unsigned char port[16];
- unsigned char type[4];
unsigned char user[16];
unsigned char pass[16];
+ /* serial-over-lan */
+ unsigned char type[4];
+ int verbose;
+ enum redir_state state;
+
+ int sock;
unsigned char buf[64];
unsigned int blen;
- enum redir_state state;
/* callbacks */
void *cb_data;