diff options
author | Hannes Reinecke <hare@suse.de> | 2022-04-11 11:02:49 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-04-22 14:52:30 +0200 |
commit | d9d6f3de9777d8263b593323586da994b3c69912 (patch) | |
tree | 4914eeaa4486c0496595023d5931820b1b2634e9 /redir.h | |
parent | 0903fb38ea0b8fb42bb039be363dd80eb61a8957 (diff) | |
download | amtterm-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |