Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
8b90909f
Commit
8b90909f
authored
Sep 06, 2005
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/channel.c
View file @
8b90909f
...
...
@@ -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
;
...
...
src/channel.h
View file @
8b90909f
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment