Return-Path: Delivered-To: apmail-httpd-apreq-cvs-archive@www.apache.org Received: (qmail 21306 invoked from network); 28 Feb 2006 17:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 17:09:42 -0000 Received: (qmail 46794 invoked by uid 500); 28 Feb 2006 17:09:28 -0000 Delivered-To: apmail-httpd-apreq-cvs-archive@httpd.apache.org Received: (qmail 46717 invoked by uid 500); 28 Feb 2006 17:09:28 -0000 Mailing-List: contact apreq-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: apreq-dev@httpd.apache.org List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-cvs@httpd.apache.org Received: (qmail 46685 invoked by uid 99); 28 Feb 2006 17:09:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 09:09:28 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 28 Feb 2006 09:09:27 -0800 Received: (qmail 21058 invoked by uid 65534); 28 Feb 2006 17:09:07 -0000 Message-ID: <20060228170906.21055.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r381707 - in /httpd/apreq/trunk: include/apreq_version.h library/module.c Date: Tue, 28 Feb 2006 17:09:05 -0000 To: apreq-cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: joes Date: Tue Feb 28 09:09:03 2006 New Revision: 381707 URL: http://svn.apache.org/viewcvs?rev=381707&view=rev Log: stub code for apreq_cookies Modified: httpd/apreq/trunk/include/apreq_version.h httpd/apreq/trunk/library/module.c Modified: httpd/apreq/trunk/include/apreq_version.h URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_version.h?rev=381707&r1=381706&r2=381707&view=diff ============================================================================== --- httpd/apreq/trunk/include/apreq_version.h (original) +++ httpd/apreq/trunk/include/apreq_version.h Tue Feb 28 09:09:03 2006 @@ -58,10 +58,10 @@ * Minor API changes that do not cause binary compatibility problems. * Should be reset to 0 when upgrading APREQ_MAJOR_VERSION */ -#define APREQ_MINOR_VERSION 5 +#define APREQ_MINOR_VERSION 6 /** patch level */ -#define APREQ_PATCH_VERSION 8 +#define APREQ_PATCH_VERSION 0 /** * This symbol is defined for internal, "development" copies of libapreq. Modified: httpd/apreq/trunk/library/module.c URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/module.c?rev=381707&r1=381706&r2=381707&view=diff ============================================================================== --- httpd/apreq/trunk/library/module.c (original) +++ httpd/apreq/trunk/library/module.c Tue Feb 28 09:09:03 2006 @@ -48,5 +48,17 @@ } +APREQ_DECLARE(apr_table_t *)apreq_cookies(apreq_handle_t *req, apr_pool_t *p) +{ + const apr_table_t *jar; + apreq_jar(req, &jar); + + if (jar != NULL) + return apr_table_copy(p, jar); + else + return NULL; + +} + /** @} */