Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2000 23:14:10 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Warner Losh <imp@village.org>
Cc:        "Gary T. Corcoran" <gcorcoran@lucent.com>, Mike Smith <msmith@FreeBSD.ORG>, FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Module parameters? 
Message-ID:  <200007120614.XAA00651@mass.osd.bsdi.com>
In-Reply-To: Your message of "Tue, 11 Jul 2000 20:15:46 MDT." <200007120215.UAA09795@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Something like the following?  I know that there's more routines that
> need to be written.  parse_int, parse_string, parse_bool, parse_enum
> should be enough.
> 
> Comments?

Reuse the parsers in ng_parse.c, or (IMO better) use sscanf format 
strings (which are *extremely* flexible).

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007120614.XAA00651>