Commit 0ed8bbcd authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Simplify the use of IscHandlerList.

parent 67b9e4a1
1999-04-16 Per Cederqvist <ceder@gratia>
Simplify the use of IscHandlerList. (This needs more
documentation.)
* src/isc.h (IscSession): Removed the "IscHandlerCache fun"
member.
(ISC_HCALLFUN1): Adapted to IscHandlerList changes.
(ISC_HCALLFUN2): Adapted to IscHandlerList changes.
(ISC_HCALLFUN3): Adapted to IscHandlerList changes.
* src/intern.h (ISC_SCALLFUN1): Use ISC_HCALLFUN1 to simplify
code. Adapted to IscHandlerList changes.
(ISC_SCALLFUN2): Analogous.
(ISC_SCALLFUN3): Analogous.
* src/isc_handler.c (isc_pushhandler): Modified so that the
members of the member "current" of IscHandlerList objects points
to the IscHandler object where the callbacks that should be used
exist. Once that changes was done, there is no need for the
"scb->fun" member, so it was removed.
(isc_pophandler): Adjusted accordingly.
* src/isc_session.c (isc_create): Removed the code that
initialized scb->fun.
(isc_destroy): Use scb->handlers->current instead of scb->fun.
* src/isc_event.c (isc_getnextevent): Use scb->handlers->current
instead of scb->fun.
1999-04-15 Per Cederqvist <ceder@lysator.liu.se>
Allow disabled sessions to emit data. It is input from the
......
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