Commit 639b59a7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_cancel_stale_output_callback): Moved.

parent 2fda40c3
......@@ -210,6 +210,18 @@ stale_cb(oop_source *UNUSED(src),
return OOP_CONTINUE;
}
static void
isc_cancel_stale_output_callback(struct isc_scb_internal *session)
{
oop_source *source = session->pub.master->event_source;
if (session->stale_output_cb_registered)
{
source->cancel_time(source, session->stale_output_tv, stale_cb, session);
session->stale_output_cb_registered = 0;
}
}
void
isc_set_read_callback(struct isc_scb *scb,
oop_call_fd *data_available_callback,
......@@ -229,18 +241,6 @@ isc_set_read_callback(struct isc_scb *scb,
isc_check_read_callback(session, 0);
}
void
isc_cancel_stale_output_callback(struct isc_scb_internal *session)
{
oop_source *source = session->pub.master->event_source;
if (session->stale_output_cb_registered)
{
source->cancel_time(source, session->stale_output_tv, stale_cb, session);
session->stale_output_cb_registered = 0;
}
}
void
isc_check_read_callback(struct isc_scb_internal *session,
int any_written)
......
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