Skip to content
GitLab
Menu
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
ee4d92b7
Commit
ee4d92b7
authored
Oct 07, 2000
by
Niels Möller
Browse files
* src/channel.c: Changed close_callback -> lsh_callback.
Rev: src/channel.c:1.84 Rev: src/channel.h:1.59
parent
b7a9c011
Changes
2
Show whitespace changes
Inline
Side-by-side
src/channel.c
View file @
ee4d92b7
...
...
@@ -1951,19 +1951,18 @@ make_channel_read_stderr(struct ssh_channel *channel)
/* GABA:
(class
(name channel_close_callback)
(super
close
_callback)
(super
lsh
_callback)
(vars
(channel object ssh_channel))) */
/* Close callback for files we are reading from. */
static
void
channel_read_close_callback
(
struct
close
_callback
*
c
,
int
reason
)
channel_read_close_callback
(
struct
lsh
_callback
*
c
)
{
CAST
(
channel_close_callback
,
closure
,
c
);
debug
(
"channel_read_close_callback: File closed for reason %i.
\n
"
,
reason
);
trace
(
"channel_read_close_callback: File closed.
\n
"
);
assert
(
closure
->
channel
->
sources
);
...
...
@@ -1974,7 +1973,7 @@ channel_read_close_callback(struct close_callback *c, int reason)
}
}
struct
close
_callback
*
struct
lsh
_callback
*
make_channel_read_close_callback
(
struct
ssh_channel
*
channel
)
{
NEW
(
channel_close_callback
,
closure
);
...
...
src/channel.h
View file @
ee4d92b7
...
...
@@ -339,7 +339,7 @@ struct lsh_string *format_channel_eof(struct ssh_channel *channel);
void
channel_close
(
struct
ssh_channel
*
channel
);
void
channel_eof
(
struct
ssh_channel
*
channel
);
struct
close
_callback
*
struct
lsh
_callback
*
make_channel_read_close_callback
(
struct
ssh_channel
*
channel
);
struct
exception_handler
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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