Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 47468 invoked from network); 5 Jan 2008 14:56:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2008 14:56:32 -0000 Received: (qmail 7886 invoked by uid 500); 5 Jan 2008 14:56:20 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 7863 invoked by uid 500); 5 Jan 2008 14:56:20 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 7853 invoked by uid 99); 5 Jan 2008 14:56:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 06:56:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of buanzo@buanzo.com.ar designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 14:55:54 +0000 Received: by an-out-0708.google.com with SMTP id b15so1821637ana.102 for ; Sat, 05 Jan 2008 06:55:57 -0800 (PST) Received: by 10.100.210.9 with SMTP id i9mr38025112ang.40.1199544957784; Sat, 05 Jan 2008 06:55:57 -0800 (PST) Received: from ?10.10.0.4? ( [201.235.164.113]) by mx.google.com with ESMTPS id 18sm27124249agb.10.2008.01.05.06.55.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 05 Jan 2008 06:55:56 -0800 (PST) Message-ID: <477F9A79.2050905@buanzo.com.ar> Date: Sat, 05 Jan 2008 12:55:53 -0200 From: Arturo 'Buanzo' Busleiman Organization: GNU/Buanzo User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Read and store file in module config X-Enigmail-Version: 0.95.6 OpenPGP: id=6857704D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi group, For a new module I'm working on I need to read a short text file, parse it, and store it (parsed, of course) on my module's config, so I can use it on certain ap_hooks. What do you recommend for this? Just declare my parsing struct on the config and keep it there, or does anyone have a better idea? Sincerely, PS: Happy New year!!!!!!!!!!!!!!!! - -- Arturo "Buanzo" Busleiman BUSCO Baterista para estilo brit-pop Zona Norte BsAs Independent Security Consultant - SANS - OISSG http://www.buanzo.com.ar/pro/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHf5p5AlpOsGhXcE0RCsVYAJ9tACHC+Yjfb3rIDsm80NkBvyC3AgCbB1VA 2ho+gxgOy2JBUg5lIuVn8aM= =KbhT -----END PGP SIGNATURE-----