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

(isc_stale_output_cb): New typedef.

(isc_cfg_stale_timeout): New function.
(isc_set_read_callback): New argument: stale_output_cb.
parent 4ca346b2
...@@ -54,6 +54,10 @@ typedef void isc_write_error_cb(struct isc_mcb *cb_mcb, ...@@ -54,6 +54,10 @@ typedef void isc_write_error_cb(struct isc_mcb *cb_mcb,
int saved_errno, int saved_errno,
void *user); void *user);
typedef void isc_stale_output_cb(struct isc_mcb *cb_mcb,
struct isc_scb *cb_session,
void *user);
/* /*
** The different session states ** The different session states
*/ */
...@@ -101,6 +105,9 @@ isc_initialize(oop_source *); ...@@ -101,6 +105,9 @@ isc_initialize(oop_source *);
extern void extern void
isc_cfg_fd_relocate(struct isc_mcb *, int fd_relocate); isc_cfg_fd_relocate(struct isc_mcb *, int fd_relocate);
extern void
isc_cfg_stale_timeout(struct isc_mcb *, struct timeval);
/* /*
** Shut down all sessions associated with an ISC Master Control Block ** Shut down all sessions associated with an ISC Master Control Block
...@@ -130,6 +137,7 @@ extern void ...@@ -130,6 +137,7 @@ extern void
isc_set_read_callback(struct isc_scb *session, isc_set_read_callback(struct isc_scb *session,
oop_call_fd *data_available_cb, oop_call_fd *data_available_cb,
isc_write_error_cb *write_error_cb, isc_write_error_cb *write_error_cb,
isc_stale_output_cb *stale_output_cb,
void *user); void *user);
extern int extern int
......
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