Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 873B8B1D7 for ; Mon, 2 Jan 2012 04:21:12 +0000 (UTC) Received: (qmail 14930 invoked by uid 500); 2 Jan 2012 04:21:12 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 14734 invoked by uid 500); 2 Jan 2012 04:21:10 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 14721 invoked by uid 99); 2 Jan 2012 04:21:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 04:21:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 04:21:08 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id ECBED238889B; Mon, 2 Jan 2012 04:20:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1226340 - /httpd/httpd/branches/2.4.x/include/ap_slotmem.h Date: Mon, 02 Jan 2012 04:20:47 -0000 To: cvs@httpd.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120102042047.ECBED238889B@eris.apache.org> Author: sf Date: Mon Jan 2 04:20:47 2012 New Revision: 1226340 URL: http://svn.apache.org/viewvc?rev=1226340&view=rev Log: Merge r1226339: Avoid using C++ reserved word 'new' in arg name in header Doc tweaks Modified: httpd/httpd/branches/2.4.x/include/ap_slotmem.h Modified: httpd/httpd/branches/2.4.x/include/ap_slotmem.h URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/include/ap_slotmem.h?rev=1226340&r1=1226339&r2=1226340&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/include/ap_slotmem.h (original) +++ httpd/httpd/branches/2.4.x/include/ap_slotmem.h Mon Jan 2 04:20:47 2012 @@ -70,7 +70,7 @@ typedef unsigned int ap_slotmem_type_t; typedef struct ap_slotmem_instance_t ap_slotmem_instance_t; /** - * callback function used for slotmem. + * callback function used for slotmem doall. * @param mem is the memory associated with a worker. * @param data is what is passed to slotmem. * @param pool is pool used @@ -95,24 +95,26 @@ struct ap_slotmem_provider_t { /** * create a new slotmem with each item size is item_size. * This would create shared memory, basically. - * @param name is a key used for debugging and in mod_status output or allow another process to share this space. + * @param inst where to store pointer to slotmem + * @param name a key used for debugging and in mod_status output or allow another process to share this space. * @param item_size size of each item * @param item_num number of item to create. * @param type type of slotmem. * @param pool is pool used * @return APR_SUCCESS if all went well */ - apr_status_t (* create)(ap_slotmem_instance_t **new, const char *name, apr_size_t item_size, unsigned int item_num, ap_slotmem_type_t type, apr_pool_t *pool); + apr_status_t (* create)(ap_slotmem_instance_t **inst, const char *name, apr_size_t item_size, unsigned int item_num, ap_slotmem_type_t type, apr_pool_t *pool); /** * attach to an existing slotmem. * This would attach to shared memory, basically. - * @param name is a key used for debugging and in mod_status output or allow another process to share this space. + * @param inst where to store pointer to slotmem + * @param name a key used for debugging and in mod_status output or allow another process to share this space. * @param item_size size of each item * @param item_num max number of item. * @param pool is pool to memory allocate. * @return APR_SUCCESS if all went well */ - apr_status_t (* attach)(ap_slotmem_instance_t **new, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool); + apr_status_t (* attach)(ap_slotmem_instance_t **inst, const char *name, apr_size_t *item_size, unsigned int *item_num, apr_pool_t *pool); /** * get the memory ptr associated with this worker slot. * @param s ap_slotmem_instance_t to use.