Subject: Re: proplib changes
To: Jachym Holecek <freza@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 06/12/2007 11:27:02
On Jun 11, 2007, at 4:11 AM, Jachym Holecek wrote:
> Add a "codec" argument to _externalize_to_file(), when NULL use the
> default? (This is source-incompatible change to proplib API -- I'd
> prefer that over coming up with an extra function to "externalize
> to file with codec".)
No, it should be a separate API call that takes a codec argument.
Most applications don't care what codec is used and just want the
default. Applications that (pointlessly) care can bear the burden of
the more complex API call.
-- thorpej