httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_optional_fn_export.c mod_optional_fn_import.c mod_optional_hook_export.c mod_optional_hook_export.h mod_optional_hook_import.c
Date Sun, 20 May 2001 12:56:53 GMT
ben         01/05/20 05:56:53

  Modified:    modules/experimental mod_optional_fn_export.c
                        mod_optional_fn_import.c mod_optional_hook_export.c
                        mod_optional_hook_export.h
                        mod_optional_hook_import.c
  Log:
  More generic -> optional cleanup.
  
  Revision  Changes    Path
  1.2       +1 -1      httpd-2.0/modules/experimental/mod_optional_fn_export.c
  
  Index: mod_optional_fn_export.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_fn_export.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_optional_fn_export.c	2001/01/27 17:50:45	1.1
  +++ mod_optional_fn_export.c	2001/05/20 12:56:52	1.2
  @@ -58,7 +58,7 @@
   #include "mod_optional_fn_export.h"
   
   /* The alert will note a strange mirror-image style resemblance to
  - * mod_generic_hook_import.c. Yes, I _did_ mean import. Think about it.
  + * mod_optional_hook_import.c. Yes, I _did_ mean import. Think about it.
    */
   
   static int TestOptionalFn(const char *szStr)
  
  
  
  1.3       +1 -1      httpd-2.0/modules/experimental/mod_optional_fn_import.c
  
  Index: mod_optional_fn_import.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_fn_import.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mod_optional_fn_import.c	2001/02/17 16:10:07	1.2
  +++ mod_optional_fn_import.c	2001/05/20 12:56:52	1.3
  @@ -58,7 +58,7 @@
   #include "http_protocol.h"
   
   /* The alert will note a strange mirror-image style resemblance to
  - * mod_generic_hook_export.c. Yes, I _did_ mean export. Think about it.
  + * mod_optional_hook_export.c. Yes, I _did_ mean export. Think about it.
    */
   
   static APR_OPTIONAL_FN_TYPE(TestOptionalFn) *pfn;
  
  
  
  1.2       +2 -2      httpd-2.0/modules/experimental/mod_optional_hook_export.c
  
  Index: mod_optional_hook_export.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_hook_export.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_optional_hook_export.c	2001/05/20 12:45:50	1.1
  +++ mod_optional_hook_export.c	2001/05/20 12:56:52	1.2
  @@ -57,13 +57,13 @@
   #include "mod_optional_hook_export.h"
   #include "http_protocol.h"
   
  -APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,generic_hook_test,
  +APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ap,AP_MODULE,int,optional_hook_test,
   				    (const char *szStr),
   				    (szStr),OK,DECLINED)
   
   static int ExportLogTransaction(request_rec *r)
   {
  -    return ap_run_generic_hook_test(r->the_request);
  +    return ap_run_optional_hook_test(r->the_request);
   }
   
   static void ExportRegisterHooks(apr_pool_t *p)
  
  
  
  1.2       +4 -4      httpd-2.0/modules/experimental/mod_optional_hook_export.h
  
  Index: mod_optional_hook_export.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_hook_export.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_optional_hook_export.h	2001/05/20 12:45:50	1.1
  +++ mod_optional_hook_export.h	2001/05/20 12:56:52	1.2
  @@ -52,11 +52,11 @@
    * <http://www.apache.org/>.
    */
   
  -#ifndef MOD_GENERIC_HOOK_EXPORT_H
  -#define MOD_GENERIC_HOOK_EXPORT_H
  +#ifndef MOD_OPTIONAL_HOOK_EXPORT_H
  +#define MOD_OPTOPNAL_HOOK_EXPORT_H
   
   #include "apr_optional_hooks.h"
   
  -APR_DECLARE_EXTERNAL_HOOK(ap,AP_MODULE,int,generic_hook_test,(const char *))
  +APR_DECLARE_EXTERNAL_HOOK(ap,AP_MODULE,int,optional_hook_test,(const char *))
   
  -#endif /* def MOD_GENERIC_HOOK_EXPORT_H */
  +#endif /* def MOD_OPTIONAL_HOOK_EXPORT_H */
  
  
  
  1.2       +2 -2      httpd-2.0/modules/experimental/mod_optional_hook_import.c
  
  Index: mod_optional_hook_import.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_optional_hook_import.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_optional_hook_import.c	2001/05/20 12:45:50	1.1
  +++ mod_optional_hook_import.c	2001/05/20 12:56:52	1.2
  @@ -67,8 +67,8 @@
   
   static void ImportRegisterHooks(apr_pool_t *p)
   {
  -    APR_OPTIONAL_HOOK(ap,generic_hook_test,ImportGenericHookTestHook,NULL,NULL,
  -		      APR_HOOK_MIDDLE);
  +    APR_OPTIONAL_HOOK(ap,optional_hook_test,ImportGenericHookTestHook,NULL,
  +		      NULL,APR_HOOK_MIDDLE);
   }
   
   module optional_hook_import_module=
  
  
  

Mime
View raw message