From owner-freebsd-hackers Mon May 29 0:58:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 7466D37BC5F for ; Mon, 29 May 2000 00:58:20 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12wKQz-0006VB-00; Mon, 29 May 2000 14:58:01 +0700 Date: Mon, 29 May 2000 14:58:01 +0700 (ALMST) From: Boris Popov To: Wes Peters Cc: A G F Keahan , freebsd-hackers@FreeBSD.ORG Subject: Re: Generic config file parser? In-Reply-To: <39321407.40926B57@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 29 May 2000, Wes Peters wrote: > > Yes, there is such thing. I've used this format for nwfs/smbfs > > configuration files. You may look at old version of this parser in > > src/lib/libncp/ncpl_rcfile.c or download smbfs sources > > (ftp://ftp.butya.kz/pub/smbfs/smbfs.tar.gz) and look in the > > lib/smb/rcfile.c for more generalized interface. > > > > I'm really want to make this thing generic and unite it with > > others config file parsers (if memory serves me right, Daniel Sobral wrote > > RW version for rc.conf style files). > > Not needed, there is such a parser library included in OpenSSL, which > is included in FreeBSD by default as of 4.0. The documenation is > non-existent, but I suspect it will show up sooner than yet another > development effort would produce. > > See /usr/src/crypto/openssl/crypto/conf for more info: UTSL. No, while we have N_OPEN* switches in the make.conf file, this library isn't standard. For example, I don't have any of open* programs compiled and installed, so there is no /usr/lib/libcrypto* files. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message