Call modules iteratively, rather than recursively.
authoraland <aland>
Mon, 12 Jun 2006 23:56:24 +0000 (23:56 +0000)
committeraland <aland>
Mon, 12 Jun 2006 23:56:24 +0000 (23:56 +0000)
commit896b7372e44aeb0cac4c93fb898e10a6bc0a52fe
treee302218d9d9eafe4a61677a357506f5d322ce613
parent19adae4f8b2a1dde2da45bed0a47500aff051f75
Call modules iteratively, rather than recursively.

This cleans up duplicate code that was in modcall.c, and means
that it's more likely we can put proxy into a module in the
authenticate section, in order to have it part of configurable
failover.

It also means that the "proxy EAP-MSCHAPv2 as MS-CHAPv2" and related
work will become easier, as we don't have to walk back up the entire
stack.  Instead, we can just keep the "modcall stack" associated
with the request, and continue where we left off.
src/include/modcall.h
src/main/modcall.c
src/main/modules.c