From owner-freebsd-hackers Tue Jul 11 23: 6: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-193-112-57.dsl.snfc21.pacbell.net [63.193.112.57]) by hub.freebsd.org (Postfix) with ESMTP id 1C35F37BC38; Tue, 11 Jul 2000 23:06:02 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id XAA00651; Tue, 11 Jul 2000 23:14:10 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200007120614.XAA00651@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: "Gary T. Corcoran" , Mike Smith , FreeBSD Hackers Subject: Re: Module parameters? In-reply-to: Your message of "Tue, 11 Jul 2000 20:15:46 MDT." <200007120215.UAA09795@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 11 Jul 2000 23:14:10 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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