From dev-return-16615-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Jun 14 14:28:37 2006 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 99859 invoked from network); 14 Jun 2006 14:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2006 14:28:36 -0000 Received: (qmail 2623 invoked by uid 500); 14 Jun 2006 14:28:35 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 2588 invoked by uid 500); 14 Jun 2006 14:28:34 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Delivered-To: moderator for dev@apr.apache.org Received: (qmail 20035 invoked by uid 99); 14 Jun 2006 13:50:44 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gstein@gmail.com designates 64.233.166.176 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c6pDpnzPVhVXteG2xPNcZgbHBbVzcngVsTzChU5KU7RtB8dElPe5D9RaspK5uKRQRtqLiJiav9LL/xHSY84mLEMI0OVcTxEuKKo5/TL782DA8wSt62j7HhFz8583OilJx5DJvyI2pbfSf5jzp5AaO0J9qICnNpgB015EDExT4Fc= Message-ID: <6cca3db30606140650i21688ad0xfab8073558b24d90@mail.gmail.com> Date: Wed, 14 Jun 2006 06:50:20 -0700 From: "Greg Stein" To: "Nick Kew" Subject: Re: current dbd initiatives Cc: dev@apr.apache.org In-Reply-To: <200606141000.06644.nick@webthing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060608170430.ldbedf96ckccss0k@www.rexursive.com> <6cca3db30606140102j4464aa4bwd7cb5f6192d8625a@mail.gmail.com> <448FCC39.2030202@rowe-clan.net> <200606141000.06644.nick@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/14/06, Nick Kew wrote: >... > > >> > 5) Renaming functions like apr_dbd_get_entry() to apr_dbd_entry_get(). > > >> > Is this the kind of thing that can be done with a minor version number > > >> > change, i.e., in 1.3? > > I thought we established that apr_module_verb_noun is the form used most > commonly throughout apr-util in any case! Whatever. That is a separate discussion/debate; I was merely trying to provide options within the versioning guidelines. For the above case, the function implementation can be renamed to apr_dbd_entry_get(), then a new function can be added, named apr_dbd_get_entry, which simply calls the other with its params. Update the header to rename the function, and add a new entry for the old with a @deprecated remark. Don't try to use #define here tho. Some users may want/need the func address, so you can't use macros. Also, as Bill points out, you can't convert the old func to a macro. Cheers, -g -- Greg Stein, http://www.lyra.org/