You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/04/25 07:19:20 UTC
svn commit: r164536 - in /httpd/httpd/trunk: CHANGES include/http_protocol.h
modules/http/http_protocol.c
Author: pquerna
Date: Sun Apr 24 22:19:18 2005
New Revision: 164536
URL: http://svn.apache.org/viewcvs?rev=164536&view=rev
Log:
Remove ap_method_list_do and ap_method_list_vdo as previously mentioned dev@httpd.
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/include/http_protocol.h
httpd/httpd/trunk/modules/http/http_protocol.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=164536&r1=164535&r2=164536&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES (original)
+++ httpd/httpd/trunk/CHANGES Sun Apr 24 22:19:18 2005
@@ -2,6 +2,9 @@
[Remove entries to the current 2.0 section below, when backported]
+ *) Remove the never working ap_method_list_do and ap_method_list_vdo.
+ [Paul Querna]
+
*) Added makefile and doc for building mod_ssl on the NetWare
platform. [Guenter Knauf, Brad Nicholes]
Modified: httpd/httpd/trunk/include/http_protocol.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/http_protocol.h?rev=164536&r1=164535&r2=164536&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_protocol.h (original)
+++ httpd/httpd/trunk/include/http_protocol.h Sun Apr 24 22:19:18 2005
@@ -261,14 +261,7 @@
AP_DECLARE(ap_method_list_t *) ap_make_method_list(apr_pool_t *p, int nelts);
AP_DECLARE(void) ap_copy_method_list(ap_method_list_t *dest,
ap_method_list_t *src);
-AP_DECLARE_NONSTD(void) ap_method_list_do(int (*comp) (void *urec, const char *mname,
- int mnum),
- void *rec,
- const ap_method_list_t *ml, ...);
-AP_DECLARE(void) ap_method_list_vdo(int (*comp) (void *urec, const char *mname,
- int mnum),
- void *rec, const ap_method_list_t *ml,
- va_list vp);
+
/**
* Search for an HTTP method name in an ap_method_list_t structure, and
* return true if found.
Modified: httpd/httpd/trunk/modules/http/http_protocol.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/http/http_protocol.c?rev=164536&r1=164535&r2=164536&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_protocol.c (original)
+++ httpd/httpd/trunk/modules/http/http_protocol.c Sun Apr 24 22:19:18 2005
@@ -1273,30 +1273,6 @@
}
/*
- * Invoke a callback routine for each method in the specified list.
- */
-AP_DECLARE_NONSTD(void) ap_method_list_do(int (*comp) (void *urec,
- const char *mname,
- int mnum),
- void *rec,
- const ap_method_list_t *ml, ...)
-{
- va_list vp;
- va_start(vp, ml);
- ap_method_list_vdo(comp, rec, ml, vp);
- va_end(vp);
-}
-
-AP_DECLARE(void) ap_method_list_vdo(int (*comp) (void *mrec,
- const char *mname,
- int mnum),
- void *rec, const ap_method_list_t *ml,
- va_list vp)
-{
-
-}
-
-/*
* Return true if the specified HTTP method is in the provided
* method list.
*/