httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-2.0/server log.c
Date Mon, 30 Jul 2001 17:55:38 GMT
orlikowski    01/07/30 10:55:38

  Modified:    include  http_log.h
               os/unix  unixd.c unixd.h
               server   log.c
  Log:
  httpd.exp and lots of other export files are generated based on the
  AP[RU]_DECLARE macros. This commit gets mod_cgid working again as a DSO on
  AIX.
  However, this brings up the need to look for any functions that are
  available as part of the API, and AP[RU]_DECLAREing them, so things don't
  blow up in DSOs.
  
  Revision  Changes    Path
  1.31      +1 -1      httpd-2.0/include/http_log.h
  
  Index: http_log.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/http_log.h,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- http_log.h	2001/07/18 19:38:35	1.30
  +++ http_log.h	2001/07/30 17:55:38	1.31
  @@ -220,7 +220,7 @@
    * @param p The pool to use for logging
    * @param fname The name of the file to log to
    */
  -void ap_log_pid(apr_pool_t *p, const char *fname);
  +AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *fname);
   
   typedef struct piped_log piped_log;
   
  
  
  
  1.37      +6 -4      httpd-2.0/os/unix/unixd.c
  
  Index: unixd.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/unix/unixd.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- unixd.c	2001/02/16 04:26:46	1.36
  +++ unixd.c	2001/07/30 17:55:38	1.37
  @@ -147,7 +147,7 @@
   }
   
   
  -int unixd_setup_child(void)
  +AP_DECLARE(int) unixd_setup_child(void)
   {
       if (set_group_privs()) {
   	return -1;
  @@ -182,7 +182,8 @@
   }
   
   
  -const char *unixd_set_user(cmd_parms *cmd, void *dummy, const char *arg)
  +AP_DECLARE(const char *) unixd_set_user(cmd_parms *cmd, void *dummy, 
  +                                        const char *arg)
   {
       const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
       if (err != NULL) {
  @@ -208,7 +209,8 @@
       return NULL;
   }
   
  -const char *unixd_set_group(cmd_parms *cmd, void *dummy, const char *arg)
  +AP_DECLARE(const char *) unixd_set_group(cmd_parms *cmd, void *dummy, 
  +                                         const char *arg)
   {
       const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
       if (err != NULL) {
  @@ -220,7 +222,7 @@
       return NULL;
   }
   
  -void unixd_pre_config(apr_pool_t *ptemp)
  +AP_DECLARE(void) unixd_pre_config(apr_pool_t *ptemp)
   {
       apr_finfo_t wrapper;
   
  
  
  
  1.23      +6 -4      httpd-2.0/os/unix/unixd.h
  
  Index: unixd.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/os/unix/unixd.h,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- unixd.h	2001/05/27 15:31:07	1.22
  +++ unixd.h	2001/07/30 17:55:38	1.23
  @@ -101,10 +101,12 @@
   } unixd_config_rec;
   extern unixd_config_rec unixd_config;
   
  -int unixd_setup_child(void);
  -void unixd_pre_config(apr_pool_t *ptemp);
  -const char *unixd_set_user(cmd_parms *cmd, void *dummy, const char *arg);
  -const char *unixd_set_group(cmd_parms *cmd, void *dummy, const char *arg);
  +AP_DECLARE(int) unixd_setup_child(void);
  +AP_DECLARE(void) unixd_pre_config(apr_pool_t *ptemp);
  +AP_DECLARE(const char *) unixd_set_user(cmd_parms *cmd, void *dummy, 
  +                                        const char *arg);
  +AP_DECLARE(const char *) unixd_set_group(cmd_parms *cmd, void *dummy, 
  +                                         const char *arg);
   #if defined(RLIMIT_CPU) || defined(RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_NPROC)
|| defined(RLIMIT_AS)
   AP_DECLARE(void) unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit,
                              const char *arg, const char * arg2, int type);
  
  
  
  1.96      +1 -1      httpd-2.0/server/log.c
  
  Index: log.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/log.c,v
  retrieving revision 1.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- log.c	2001/07/18 19:58:49	1.95
  +++ log.c	2001/07/30 17:55:38	1.96
  @@ -512,7 +512,7 @@
       va_end(args);
   }
   
  -void ap_log_pid(apr_pool_t *p, const char *fname)
  +AP_DECLARE(void) ap_log_pid(apr_pool_t *p, const char *fname)
   {
       apr_file_t *pid_file = NULL;
       apr_finfo_t finfo;
  
  
  

Mime
View raw message