Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
0ed8bbcd
Commit
0ed8bbcd
authored
Apr 16, 1999
by
Per Cederqvist
Browse files
Simplify the use of IscHandlerList.
parent
67b9e4a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/ChangeLog
View file @
0ed8bbcd
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment