summaryrefslogtreecommitdiffstats
path: root/redir.h
diff options
context:
space:
mode:
Diffstat (limited to 'redir.h')
-rw-r--r--redir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/redir.h b/redir.h
index 8520d58..64d46a7 100644
--- a/redir.h
+++ b/redir.h
@@ -30,6 +30,9 @@ struct redir {
enum redir_state state;
unsigned char err[128]; // state == REDIR_ERROR
+ /* ide-redirection */
+ unsigned char filename[256];
+
int sock;
unsigned char buf[64];
unsigned int blen;
@@ -62,4 +65,8 @@ 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);
+int redir_ider_start(struct redir *r);
+int redir_ider_stop(struct redir *r);
+int redir_ider_send(struct redir *r, unsigned char *buf, int blen);
+int redir_ider_recv(struct redir *r);
int redir_data(struct redir *r);