-----Original Message----- From: freeradius-devel-bounces+rmelendez=wayport.net@lists.freeradius.org [mailto:freeradius-devel- bounces+rmelendez=wayport.net@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Tuesday, April 04, 2006 6:55 PM To: FreeRadius developers mailing list Subject: Re: detail logs User-Password
"Ryan Melendez" <rmelendez@wayport.net> wrote:
I agree Peter's approach is more scalable, but I'm not confident I know how to responsibly handle x number of config options. Is there another module that accepts an unknown number of config options I can take a peek at?
Uh, no.
You can parse config options by hand. See cf_item_find_next() which gets the next thing in a list, and cf_itemtopair() which converts an item to a CONF_PAIR, for manual parsing.
Submit the patch you have now, and I'll take a look at poking it to do more.
http://bugs.freeradius.org/show_bug.cgi?id=359
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html