Commit 8b90909f authored by Niels Möller's avatar Niels Möller
Browse files

(make_channel_table): Take an exception handler argument.

Rev: src/channel.c:1.125.2.4
Rev: src/channel.h:1.77.2.4
parent 59238c39
......@@ -275,13 +275,15 @@ make_exc_finish_channel_handler(struct channel_table *table,
/* Arbitrary limit */
#define MAX_CHANNELS (1L<<17)
/* FIXME: Figure out what exceptions really are needed. Perhaps we can
use some method call instead? */
struct channel_table *
make_channel_table(struct abstract_write *write
/* , struct exception_handler *e */)
make_channel_table(struct abstract_write *write,
struct exception_handler *e)
{
NEW(channel_table, table);
table->write = write;
table->e = NULL; /* FIXME: XXX */
table->e = e;
/* FIXME: Really need this? */
table->chain = NULL;
......
......@@ -356,7 +356,8 @@ void
init_channel(struct ssh_channel *channel);
struct channel_table *
make_channel_table(struct abstract_write *write);
make_channel_table(struct abstract_write *write,
struct exception_handler *e);
int
alloc_channel(struct channel_table *table);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment