summaryrefslogtreecommitdiffstats
path: root/redir.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2022-04-11 11:02:49 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-22 14:52:30 +0200
commitd9d6f3de9777d8263b593323586da994b3c69912 (patch)
tree4914eeaa4486c0496595023d5931820b1b2634e9 /redir.h
parent0903fb38ea0b8fb42bb039be363dd80eb61a8957 (diff)
downloadamtterm-d9d6f3de9777d8263b593323586da994b3c69912.tar.gz
amtider: IDE-redirection client
Preliminary stub only. Signed-off-by: Hannes Reinecke <hare@suse.de>
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);