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

(IscSession): Removed the "IscHandlerCache fun" member.

(ISC_HCALLFUN1): Adapted to IscHandlerList changes.
(ISC_HCALLFUN2): Adapted to IscHandlerList changes.
(ISC_HCALLFUN3): Adapted to IscHandlerList changes.
parent cba14b0b
......@@ -282,7 +282,6 @@ IscSession
IscSessionStats stats;
IscHandlerList * handlers;
IscHandlerCache fun;
ISC_UDGTYPE * udg; /* User defined garbage :-) */
};
......@@ -323,7 +322,7 @@ IscHandlerList
{
IscHandlerList * next;
IscHandler * hcb;
IscHandlerCache old;
IscHandlerCache current;
};
......@@ -690,13 +689,13 @@ isc_pophandler(IscSession *scb);
** Handler call function macros
*/
#define ISC_HCALLFUN1(HLIST,NAME,ARG) \
(*HLIST->old.NAME->hcb->NAME)(HLIST->old.NAME, ARG)
(*(HLIST)->current.NAME->hcb->NAME)((HLIST), (ARG))
#define ISC_HCALLFUN2(HLIST,NAME,A1,A2) \
(*HLIST->old.NAME->hcb->NAME)(HLIST->old.NAME, A1, A2)
(*(HLIST)->current.NAME->hcb->NAME)((HLIST), (A1), (A2))
#define ISC_HCALLFUN3(HLIST,NAME,A1,A2,A3) \
(*HLIST->old.NAME->hcb->NAME)(HLIST->old.NAME, A1, A2, A3)
(*(HLIST)->current.NAME->hcb->NAME)((HLIST), (A1), (A2), (A3))
......
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