tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: factoring out prop_XXX_pack_pref() and prop_XXX_copyin_pref()



On Thu, 30 Jul 2009, Christoph Badura wrote:

> I am working on code that includes a system call where the arguments
> are passed into the kernel as a plistref to a proplib dictionary.
>
> To help with that I'd like to extend the userland and kernel API of
> proplib with the following two functions each:
>
> int prop_array_pack_pref(prop_array_t, struct plistref *);
> int prop_dictionary_pack_pref(prop_dictionary_t, struct plistref *);

My only comment is that this is getting confusing now, would
prop_*_externalize_to_pref() be more consistent with the already existing
public namespace? (also, prop_*_internalize_from_pref() I guess..)

regards,
iain




Home | Main Index | Thread Index | Old Index