httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_example.c
Date Wed, 25 Jul 2001 07:12:19 GMT
chuck       01/07/25 00:12:19

  Modified:    modules/experimental mod_example.c
  Log:
  Sorting things out
  
  Revision  Changes    Path
  1.23      +10 -9     httpd-2.0/modules/experimental/mod_example.c
  
  Index: mod_example.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_example.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- mod_example.c	2001/07/24 21:50:21	1.22
  +++ mod_example.c	2001/07/25 07:12:19	1.23
  @@ -142,7 +142,7 @@
    * Declare ourselves so the configuration routines can find and know us.
    * We'll fill it in at the end of the module.
    */
  -module example_module;
  +AP_DECLARE_DATA module example_module;
   
   /*--------------------------------------------------------------------------*/
   /*                                                                          */
  @@ -924,6 +924,7 @@
       sname = (sname != NULL) ? sname : "";
       note = apr_pstrcat(s->process->pool, "x_child_exit(", sname, ")", NULL);
       trace_add(s, NULL, NULL, note);
  +    return APR_SUCCESS;
   }
   
   /*
  @@ -1279,18 +1280,18 @@
       ap_hook_pre_connection(x_pre_connection, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_process_connection(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
       /* [1] post read_request handling */
  -    ap_hook_post_read_request(x_fixer_upper, NULL, NULL,
  +    ap_hook_post_read_request(x_post_read_request, NULL, NULL,
                                 APR_HOOK_MIDDLE);
  -    ap_hook_log_transaction(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_log_transaction(x_logger, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_http_method(x_http_method, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_default_port(x_default_port, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_create_request(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  -    ap_hook_translate_name(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  -    ap_hook_check_user_id(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_translate_name(x_translate_handler, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_check_user_id(x_check_user_id, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_fixups(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  -    ap_hook_type_checker(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  -    ap_hook_access_checker(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  -    ap_hook_auth_checker(x_fixer_upper, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_type_checker(x_type_checker, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_access_checker(x_access_checker, NULL, NULL, APR_HOOK_MIDDLE);
  +    ap_hook_auth_checker(x_auth_checker, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_insert_filter(x_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
   }
   
  @@ -1353,7 +1354,7 @@
    * Module definition for configuration.  If a particular callback is not
    * needed, replace its routine name below with the word NULL.
    */
  -module example_module =
  +AP_DECLARE_DATA module example_module =
   {
       STANDARD20_MODULE_STUFF,
       x_create_dir_config,    /* per-directory config creator */
  
  
  

Mime
View raw message