From d9d6f3de9777d8263b593323586da994b3c69912 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Mon, 11 Apr 2022 11:02:49 +0200 Subject: amtider: IDE-redirection client Preliminary stub only. Signed-off-by: Hannes Reinecke --- redir.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'redir.h') 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); -- cgit