Subject: Re: Making a common API for cpu frequency drivers
To: Iain Hibbert <email@example.com>
From: Garrett D'Amore <firstname.lastname@example.org>
Date: 09/02/2006 09:17:11
Iain Hibbert wrote:
> On Fri, 1 Sep 2006, Garrett D'Amore wrote:
>> Secondly, I would like a short-hand for
>> prop_dictionary_get/prop_number_integer (and the intervening
>> KASSERT(prop_type(prop) == PROP_NUMBER) dance.
>> Something along the lines of:
> prop_ingest(3) maybe?
No, that is to complicated still. I have to write a callback handler.
Great when I need to parse a large number of properties, but even more
awkward than just using the one-off interfaces when I need to just
access one or two properties.
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134 Fax: 951 325-2191