Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 1997 20:58:05 -0400 (EDT)
From:      Brian Mitchell <brian@firehouse.net>
To:        Preferred Customer <moncrg@ma.ultranet.com>
Cc:        "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>
Subject:   Re: sysctl
Message-ID:  <Pine.BSI.3.95.970908205618.27531A-100000@shell.firehouse.net>
In-Reply-To: <01BCBC8F.DE28EAE0@d7.dial-22.mbo.ma.ultra.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 8 Sep 1997, Preferred Customer wrote:

> 
> I was looking at sysctl,h and kern_sysctl.c the other day and I was wondering why there where no predefined 
> 
> Sysctl_short() aka CTLTYPE_SHORT or
> Sysctl_char() aka CTLTYPE_CHAR (note: not string

seems to me that SYSCTL_INT() covers both of these. I'm using SYSCTL_INT
in cases where i only need on/off values, it isn't too bad :).

> 
> Definitions.
> 
> It seems to me that short and char have to be at lease as worthy to be included as atomic types as quad.
> Also, shouldn't there be support for octet string, as in a not necessarily print-able sequence of unsigned char (a not uncommon mib occurance)
> -
> g
> 
> 

You could add some of this with SYSCTL_PROC fairly easily.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970908205618.27531A-100000>