Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 80194 invoked by uid 500); 7 Mar 2003 21:12:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 80180 invoked from network); 7 Mar 2003 21:12:44 -0000 Received: from mailhost1-bcvloh.bcvloh.ameritech.net (HELO mailhost.bcv1.ameritech.net) (66.73.20.42) by daedalus.apache.org with SMTP; 7 Mar 2003 21:12:44 -0000 Received: from heidegger.mousecar.net ([65.43.210.123]) by mailhost.bcv1.ameritech.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP id <20030307211249.DNZS348.mailhost.bcv1.ameritech.net@heidegger.mousecar.net> for ; Fri, 7 Mar 2003 16:12:49 -0500 Date: Fri, 7 Mar 2003 16:13:38 -0500 (EST) From: gebser@ameritech.net Sender: ken@heidegger.mousecar.net Reply-To: gebser@ameritech.net To: "'users@httpd.apache.org'" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Apache configuration files parsing utilities Since it's an open source product, sure. Getting the code shouldn't be any kind of a problem. I'm not up on the legalities of using it in a commercial app though. At 16:14 (UTC+0100) on Fri, 7 Mar 2003 Coursimault, Jean-marc said: = Hello, = = I'd like to use apache-like configuration files in my C++ application (Linux = / Windows / Solaris), which is not related to Apache in any way. = I don't need a GUI to set up preferences, only read them in my app. = = I need both "include" capabilities as in "include ./otherfile.conf" a,d = hierarchical values, as in = = = # my comment = mykey=myvalue = .... = = = = Ideally, the parsing of these configuration files should be possible and = easy in other languages, such as Java, possibly C# and Perl. = The parsing utilities should not have (too many) dependencies. = = I'm aware of several efforts, notably UnixConfig, to do universal = configuration files, but they don't seem very advanced. The Java Preferences = API does not seem to have any C++ counterpart. And I think that the Apache = conf files are "just right". = = And I need a LGPL-like licence, since my app will be commercial. = = Does anyone know if I could sort of extract the configuration-files parsing = utilities from Apache ? = = -- Jean-Marc = ____________________________________________________________ = Jean-Marc Coursimault | = Xerox Research Centre Europe | Tel +33 (0)4 76 61 51 82 = Systems Dev. & Engineering | Fax +33 (0)4 76 61 51 99 = 6, chemin de Maupertuis | = 38240 Meylan (France) | coursimault@xrce.xerox.com = = = = --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org