httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r381693 - in /httpd/apreq/branches/apr-build-system: include/apreq_version.h library/module.c
Date Tue, 28 Feb 2006 16:26:16 GMT
Author: joes
Date: Tue Feb 28 08:26:13 2006
New Revision: 381693

URL: http://svn.apache.org/viewcvs?rev=381693&view=rev
Log:
stub code for apreq_cookies

Modified:
    httpd/apreq/branches/apr-build-system/include/apreq_version.h
    httpd/apreq/branches/apr-build-system/library/module.c

Modified: httpd/apreq/branches/apr-build-system/include/apreq_version.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/apr-build-system/include/apreq_version.h?rev=381693&r1=381692&r2=381693&view=diff
==============================================================================
--- httpd/apreq/branches/apr-build-system/include/apreq_version.h (original)
+++ httpd/apreq/branches/apr-build-system/include/apreq_version.h Tue Feb 28 08:26:13 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/branches/apr-build-system/library/module.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/branches/apr-build-system/library/module.c?rev=381693&r1=381692&r2=381693&view=diff
==============================================================================
--- httpd/apreq/branches/apr-build-system/library/module.c (original)
+++ httpd/apreq/branches/apr-build-system/library/module.c Tue Feb 28 08:26:13 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;
+
+}
+
 
 /** @} */



Mime
View raw message