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

(isc_enable): Document that this function can fail, and that it is

	sometimes normal for it to fail.
(isc_disable): Document that a disabled session may change state to
	ISC_STATE_CLOSING if a write error occurs.
parent 5e82436e
......@@ -247,14 +247,18 @@ isc_puts(const char *str,
extern int isc_putul(unsigned long nr, struct isc_scb *scb);
/*
** Enable a previously disabled session
** Enable a previously disabled session. Will return a failure if the
** client isn't in the proper state. (This can be normal, if the
** client has ended up in ISC_STATE_CLOSING as described below.)
*/
extern int
isc_enable(struct isc_scb *scb);
/*
** Disable a session. The session will not generate read events, but
** any enqueued output will still be sent to the remote host.
** any enqueued output will still be sent to the remote host. (If a
** write error occurs, the client will change state to
** ISC_STATE_CLOSING.)
*/
extern int
isc_disable(struct isc_scb *scb);
......
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