httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_http.c
Date Tue, 14 Sep 2004 18:54:32 GMT
jorton      2004/09/14 11:54:32

  Modified:    modules/proxy proxy_http.c
  Log:
  * modules/proxy/proxy_http.c (proxy_http_handler, proxy_http_canon):
  Drop ap_ prefix, declarations and make static.
  
  Revision  Changes    Path
  1.199     +7 -13     httpd-2.0/modules/proxy/proxy_http.c
  
  Index: proxy_http.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_http.c,v
  retrieving revision 1.198
  retrieving revision 1.199
  diff -d -w -u -r1.198 -r1.199
  --- proxy_http.c	13 Sep 2004 11:13:28 -0000	1.198
  +++ proxy_http.c	14 Sep 2004 18:54:32 -0000	1.199
  @@ -19,12 +19,6 @@
   
   module AP_MODULE_DECLARE_DATA proxy_http_module;
   
  -int ap_proxy_http_canon(request_rec *r, char *url);
  -int ap_proxy_http_handler(request_rec *r, proxy_worker *worker,
  -                          proxy_server_conf *conf,
  -                          char *url, const char *proxyname, 
  -                          apr_port_t proxyport);
  -
   static apr_status_t ap_proxy_http_cleanup(const char *scheme,
                                             request_rec *r,
                                             proxy_conn_rec *backend);
  @@ -35,7 +29,7 @@
    *  url    is the URL starting with the first '/'
    *  def_port is the default port for this scheme.
    */
  -int ap_proxy_http_canon(request_rec *r, char *url)
  +static int proxy_http_canon(request_rec *r, char *url)
   {
       char *host, *path, *search, sport[7];
       const char *err;
  @@ -1131,7 +1125,7 @@
    * we return DECLINED so that we can try another proxy. (Or the direct
    * route.)
    */
  -int ap_proxy_http_handler(request_rec *r, proxy_worker *worker,
  +static int proxy_http_handler(request_rec *r, proxy_worker *worker,
                             proxy_server_conf *conf,
                             char *url, const char *proxyname, 
                             apr_port_t proxyport)
  @@ -1266,8 +1260,8 @@
   
   static void ap_proxy_http_register_hook(apr_pool_t *p)
   {
  -    proxy_hook_scheme_handler(ap_proxy_http_handler, NULL, NULL, APR_HOOK_FIRST);
  -    proxy_hook_canon_handler(ap_proxy_http_canon, NULL, NULL, APR_HOOK_FIRST);
  +    proxy_hook_scheme_handler(proxy_http_handler, NULL, NULL, APR_HOOK_FIRST);
  +    proxy_hook_canon_handler(proxy_http_canon, NULL, NULL, APR_HOOK_FIRST);
   }
   
   module AP_MODULE_DECLARE_DATA proxy_http_module = {
  
  
  

Mime
View raw message