summaryrefslogtreecommitdiffstats
path: root/redir.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2022-04-11 16:19:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-04-22 14:52:30 +0200
commit9cf44be87fb50ce116e1cbfbff1fa3e8771c15a4 (patch)
tree16f0b015baa283775be8be3b52148908994a9068 /redir.h
parente5a8f42c1a8bd2ae29d3e826fb3a7cf71a0c3068 (diff)
downloadamtterm-9cf44be87fb50ce116e1cbfbff1fa3e8771c15a4.tar.gz
redir: add ider reset handling
Diffstat (limited to 'redir.h')
-rw-r--r--redir.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/redir.h b/redir.h
index 618154f..9644441 100644
--- a/redir.h
+++ b/redir.h
@@ -9,7 +9,8 @@ enum redir_state {
REDIR_INIT_SOL = 10,
REDIR_RUN_SOL = 11,
REDIR_INIT_IDER = 20,
- REDIR_RUN_IDER = 21,
+ REDIR_CFG_IDER = 21,
+ REDIR_RUN_IDER = 22,
REDIR_CLOSING = 30,
REDIR_CLOSED = 31,
REDIR_ERROR = 40,
@@ -34,10 +35,12 @@ struct redir {
unsigned char filename[256];
unsigned int tx_bufsize;
unsigned int rx_bufsize;
+ unsigned int enable_options;
int sock;
unsigned char buf[64];
unsigned int blen;
+ unsigned int seqno;
void *cacert;
void *ctx;
@@ -68,6 +71,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_ider_start(struct redir *r);
+int redir_ider_config(struct redir *r);
+int redir_ider_reset(struct redir *r);
int redir_ider_stop(struct redir *r);
int redir_ider_send(struct redir *r, unsigned char *buf, int blen);
int redir_data(struct redir *r);