Commit ee4d92b7 authored by Niels Möller's avatar 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
......@@ -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);
......
......@@ -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 *
......
Supports Markdown
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