You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2006/02/28 18:09:05 UTC

svn commit: r381707 - in /httpd/apreq/trunk: include/apreq_version.h library/module.c

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;
+
+}
+
 
 /** @} */