From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 14 14:56:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41FBD16A4D0 for ; Wed, 14 Apr 2004 14:56:03 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01B6E43D4C for ; Wed, 14 Apr 2004 14:56:02 -0700 (PDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: from dibbler.crodrigues.org (h00609772adf0.ne.client2.attbi.com[66.31.45.197]) by comcast.net (sccrmhc12) with ESMTP id <20040414215602012001em6le>; Wed, 14 Apr 2004 21:56:02 +0000 Received: from dibbler.crodrigues.org (localhost.crodrigues.org [127.0.0.1]) i3ELu2QD004022 for ; Wed, 14 Apr 2004 17:56:02 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by dibbler.crodrigues.org (8.12.11/8.12.11/Submit) id i3ELu13u004021 for freebsd-hackers@freebsd.org; Wed, 14 Apr 2004 17:56:01 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 14 Apr 2004 17:56:01 -0400 From: Craig Rodrigues To: freebsd-hackers@freebsd.org Message-ID: <20040414215601.GA3923@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: C code for parsing rc.conf? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 21:56:03 -0000 Hi, Is there a C library that comes with FreeBSD which can be used to parse, append to, and validate rc.conf? I'd like to customize some of the settings in /etc/rc.conf with my own GUI-based program. It's not too hard to write something on my own, but I was wondering if a reusable library existed in FreeBSD 4.x or 5.x for doing this. Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org