From owner-freebsd-current Sun Feb 3 5:22:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by hub.freebsd.org (Postfix) with ESMTP id 22BEE37B400; Sun, 3 Feb 2002 05:22:07 -0800 (PST) Received: from kajsa.energyhq.org (kajsa.energyhq.org [192.168.0.1]) by energyhq.homeip.net (Postfix) with SMTP id 53E8B3FC45; Sun, 3 Feb 2002 14:22:06 +0100 (CET) Date: Sun, 3 Feb 2002 14:21:30 +0100 From: Miguel Mendez To: Terry Lambert Cc: pdfardy@mac.com, current@freebsd.org, stable@freebsd.org Subject: Re: Junior Annoying Hacker Task Message-Id: <20020203142130.08333347.flynn@energyhq.homeip.net> In-Reply-To: <3C5BCDAE.22E25BAA@mindspring.com> References: <5F46C986-16DB-11D6-8CEC-00039359034A@mac.com> <3C5B3225.F04B9B18@mindspring.com> <20020202120725.A32535@energyhq.homeip.net> <3C5BCDAE.22E25BAA@mindspring.com> Organization: Energy, Inc X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 02 Feb 2002 03:29:50 -0800 Terry Lambert wrote: Hi Terry et al, > Let me know the form you want the hierarchy to take, so > you can stick it into the GTK hierarchy thingy; I'll be > happy to crank out some quick yacc and lex code to do > the parsing of the file into that format for you. A > structure definition, with links, and how you want it > linked, would be ideal. 8-). I've been thinking about it and I'd like to provide two frontends, a GTK one and a ncurses one, what do you think? > > Something like: > > typedef enum _nodekind { > NK_VALUE, /* Path component */ > NK_KEY, /* Key */ > [.....] > struct node *child; > int intval; > char *strval; > struct wcval *wcval; > } u; > }; > It looks fine to me. Is your idea to manage rc.conf from there or maybe sysctl variables could be added too (once a working version of the rc.conf thing is made, of course). Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://energyhq.homeip.net FreeBSD - The power to serve! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message