diff options
author | kraxel <kraxel> | 2007-08-13 15:27:04 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2007-08-13 15:27:04 +0000 |
commit | 97b42d8d9d70823ca6cb4077ebc43dbc10538751 (patch) | |
tree | 10b4f8d787bb39444a724c6de4890d7a4a7a1207 /redir.h | |
parent | def49283f341e88297a117984936377900b2ae71 (diff) | |
download | amtterm-97b42d8d9d70823ca6cb4077ebc43dbc10538751.tar.gz |
state machine fixes
Diffstat (limited to 'redir.h')
-rw-r--r-- | redir.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -22,6 +22,9 @@ struct redir { unsigned char type[4]; unsigned char user[16]; unsigned char pass[16]; + + unsigned char buf[64]; + unsigned int blen; enum redir_state state; /* callbacks */ @@ -40,5 +43,5 @@ int redir_auth(struct redir *r); int redir_sol_start(struct redir *r); int redir_sol_stop(struct redir *r); int redir_sol_send(struct redir *r, unsigned char *buf, int blen); -int redir_sol_recv(struct redir *r, unsigned char *buf, int blen); +int redir_sol_recv(struct redir *r); int redir_data(struct redir *r); |