Subject: Re: Replacing the sysctl() interface.
To: Luke Mewburn <lukem@cs.rmit.edu.au>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 06/07/2000 15:10:23
> enum {
> EMPTY = 0,
> CHILD,
> INT32, /* same as `integer' in sysctl(3) */
> INT64,
> STRING = 10,
> OPAQUE,
> READONLY = 0x80000000,
> } sysctltype_t;
READONLY really oughta be a flag, not a type. after all, can't you
have read only strings, ints (both 32 and 64), and "opaque" types (for
tables, right?)? hmm...wouldn't opaque be read only be default?
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."