Removed all references to "mainconfig" from realms.c.
authoraland <aland>
Wed, 26 Sep 2007 10:43:09 +0000 (10:43 +0000)
committeraland <aland>
Wed, 26 Sep 2007 10:43:09 +0000 (10:43 +0000)
commitc8fb3c788e003982bdda9f6c07b1a9e50b02df15
treea504cab23e2c8bd3966ebb77ee64598f3bb56377
parent559c22603f76ee00d0c8008e1126fe7c41918084
Removed all references to "mainconfig" from realms.c.

realms.c is now HUP-safe.  On HUP, it loads its configuration
into a new data structure, and atomically switches between the
old one and the new one.

Right now, it immediately frees the old data structure.  It
should really be placed onto a queue for later garbage
collection, as a child thread may be accessing it.  That problem
can be solved later.
src/include/radiusd.h
src/include/realms.h
src/main/mainconfig.c
src/main/realms.c