httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_log.c
Date Sat, 05 Aug 2000 17:32:09 GMT
rbb         00/08/05 10:32:09

  Modified:    src/include http_log.h
               src/main http_log.c
  Log:
  Remove some old APIs.  These were left around for legacy modules.  Since
  we have broken all modules anyway, this is a good time to cleanup a bit.
  
  Revision  Changes    Path
  1.19      +0 -10     apache-2.0/src/include/http_log.h
  
  Index: http_log.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/http_log.h,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- http_log.h	2000/08/02 05:25:28	1.18
  +++ http_log.h	2000/08/05 17:32:08	1.19
  @@ -215,16 +215,6 @@
    * @param fname The name of the file to log to
    */
   void ap_log_pid (apr_pool_t *p, const char *fname);
  -/* These are for legacy code, new code should use ap_log_error,
  - * or ap_log_rerror.
  - */
  -API_EXPORT(void) ap_log_error_old(const char *err, server_rec *s);
  -API_EXPORT(void) ap_log_unixerr(const char *routine, const char *file,
  -			     const char *msg, server_rec *s);
  -API_EXPORT(void) ap_log_printf(const server_rec *s, const char *fmt, ...)
  -			    __attribute__((format(printf,2,3)));
  -API_EXPORT(void) ap_log_reason(const char *reason, const char *fname,
  -			    request_rec *r);
   
   typedef struct piped_log piped_log;
   
  
  
  
  1.67      +0 -29     apache-2.0/src/main/http_log.c
  
  Index: http_log.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_log.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- http_log.c	2000/08/02 05:26:47	1.66
  +++ http_log.c	2000/08/05 17:32:08	1.67
  @@ -532,35 +532,6 @@
       saved_pid = mypid;
   }
   
  -API_EXPORT(void) ap_log_error_old(const char *err, server_rec *s)
  -{
  -    ap_log_error(APLOG_MARK, APLOG_ERR, errno, s, "%s", err);
  -}
  -
  -API_EXPORT(void) ap_log_unixerr(const char *routine, const char *file,
  -			      const char *msg, server_rec *s)
  -{
  -    ap_log_error(file, 0, APLOG_ERR, errno, s, "%s", msg);
  -}
  -
  -API_EXPORT(void) ap_log_printf(const server_rec *s, const char *fmt, ...)
  -{
  -    va_list args;
  -    
  -    va_start(args, fmt);
  -    log_error_core(APLOG_MARK, APLOG_ERR, errno, s, NULL, NULL, fmt, args);
  -    va_end(args);
  -}
  -
  -API_EXPORT(void) ap_log_reason(const char *reason, const char *file, request_rec *r) 
  -{
  -    ap_log_error(APLOG_MARK, APLOG_ERR, errno, r->server,
  -		"access to %s failed for %s, reason: %s",
  -		file,
  -		ap_get_remote_host(r->connection, r->per_dir_config, REMOTE_NAME),
  -		reason);
  -}
  -
   API_EXPORT(void) ap_log_assert(const char *szExp, const char *szFile, int nLine)
   {
       char time_str[AP_CTIME_LEN];
  
  
  

Mime
View raw message