Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 34649 invoked by uid 500); 17 Aug 2003 20:19:11 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 34636 invoked from network); 17 Aug 2003 20:19:11 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 17 Aug 2003 20:19:11 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oU0k-0005DS-00 for ; Sun, 17 Aug 2003 22:20:22 +0200 Mail-Followup-To: apreq-dev@httpd.apache.org X-Injected-Via-Gmane: http://gmane.org/ To: apreq-dev@httpd.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oU0j-0005DK-00 for ; Sun, 17 Aug 2003 22:20:21 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19oTzf-000394-00 for ; Sun, 17 Aug 2003 22:19:15 +0200 From: Joe Schaefer Subject: Re: [apreq-2] does not use apr-config --includes Date: 17 Aug 2003 16:23:49 -0400 Lines: 30 Message-ID: References: <1060191816.9071.19.camel@eric> <3F3E6B3E.5070806@stason.org> <3F3E7F1A.7@stason.org> <3F3E9626.4040603@stason.org> <3F3F2008.50506@stason.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stas Bekman writes: [...] > I suppose it depends. If you are satisfied with the current > implementation of apr_tables and you think that you won't need even > more control and flexibility in the future, People that use the C API directly would need to be cautioned against using apr_table_set (use setn with v.data [*] instead) apr_table_add (use addn with v.data [*] instead) apr_table_merge(n) (don't use these, ever) apr_table_overlap (don't use with APR_OVERLAP_TABLES_MERGE) [*]- v.data is the "data" attribute of an apreq_value_t > it's probably ok to leave apreq_tables behind. In any case I suppose > that if you ever need that control you will be able to replace > apr_tables with apreq_tables, since that won't change the user's > API. However it's probably safer to use a different class: > ApReq::Table since if you change the behavior of APR::Table, If we go back to apreq_tables, we *must* drop APR::Table as the base class for our Perl tables: Apache::Request::Table, Apache::Upload::Table, and Apache::Cookie::Table. -- Joe Schaefer