Subject: Re: Sysctl vendor fields
To: Andrew Brown <firstname.lastname@example.org>
From: None <email@example.com>
Date: 07/04/2003 13:55:50
>>The first one was, instead of only declaring CTL_XXX and XXX_VALUE defines
>>and write a function for every single subtree, to declare full structs
>>that reference each other in a way that makes it possible for a single
>>function to handle a whole subtree, with some quirks for some values that
>>need special management.
BSDI is doing something like this. you pass table of CTL_xx and
pointer to variable, and sysctl_int_arr() will handle dispatches.