Subject: Re: Removig generic optstr_get
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 10/24/2006 16:32:24
--pfTAc8Cvt8L6I27a
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 24, 2006 at 02:46:18PM +0200, Julio M. Merino Vidal wrote:
> When the Multiboot code was added, I also added a generic function
> (optstr_get) used to parse "option strings" of the form: "a=3Db c=3Dd ...
> x=3Dy"  The idea was to later use this interface in other places such as
> the mount options passed during a mount(2).
>=20
> Since then, proplib was added which completely replaces this idea with
> a more powerful framework (not to mention that the optstr_get
> interface was probably suboptimal).  Therefore I'd like to do some
> cleanup:
> - Remove kern/subr_optstr.c and related manual pages and headers.
> - Move optstr_get into arch/i386/i386/multiboot.c and make it static,
>  as this is the only place where this functionality is used.  (And I guess
>  it shouldn't be used anywhere else thanks to proplib.)
>=20
> Objections?

Certainly not :-)

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--pfTAc8Cvt8L6I27a
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iQEVAwUBRT4j+NgoQloHrPnoAQKghgf7Bt9bS3poKw5THVfvZgQBXk2Ep4VZeDFr
UJcRIjUXKWlL6QfYE7lDHdoNY4JpTahFgpLgGCVoKUJgauzEXWAaS+nl5QYQpSzs
7rEAvWxcF3i787CNMrWnSrlFZARDbK0L9wtM3I5+xilUuTsTdTcfKCePieGxxKgu
t4qBbPS5k4oRKeo6xxadXcQ5UmMrCFEmxIrRtsimW90I3UeYJ/e/2wuZc3G/RwBt
dPYfjM+MNBSajTzii43fmk3UueAZOkUOooiLC9f9PstafWci3QtrYPRfCzh2UfAH
JVIqkPXKFrwPDsPePtT5zaRDg12/yK3/b6oJp8dJbvllC6EcDXKi0g==
=dtun
-----END PGP SIGNATURE-----

--pfTAc8Cvt8L6I27a--