Commit e815bbf8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(struct isc_scb_internal): Added stale_output_cb,

	stale_output_cb_registered and stale_output_tv.
(struct isc_session_cfg): Added stale_timeout.
(isc_check_read_callback): New argument: any_written.  All callers
parent a0606c5d
......@@ -69,12 +69,16 @@ struct isc_scb_internal
isc_accept_callback *accept_cb;
isc_write_error_cb *write_err_cb;
isc_stale_output_cb *stale_output_cb;
oop_call_fd *data_available_callback;
void *data_available_user;
int data_available_registered;
int write_cb_registered;
int stale_output_cb_registered;
struct timeval stale_output_tv;
......@@ -129,6 +133,7 @@ struct isc_session_cfg
int backlog;
} max;
int fd_relocate;
struct timeval stale_timeout;
......@@ -237,7 +242,7 @@ extern int
isc_relocate_fd(int fd, int limit);
extern void
isc_check_read_callback(struct isc_scb_internal *session);
isc_check_read_callback(struct isc_scb_internal *session, int any_written);
extern void
isc_cancel_read_callback(struct isc_scb_internal *session);
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