Diff for /embedaddon/lighttpd/src/log.h between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.3, 2016/11/02 10:35:00
Line 1 Line 1
 #ifndef _LOG_H_  #ifndef _LOG_H_
 #define _LOG_H_  #define _LOG_H_
   #include "first.h"
   
 #include "server.h"  #include "server.h"
   
   struct timespec; /* declaration */
   int log_clock_gettime_realtime (struct timespec *ts);
   
   ssize_t write_all(int fd, const void* buf, size_t count);
   
 /* Close fd and _try_ to get a /dev/null for it instead.  /* Close fd and _try_ to get a /dev/null for it instead.
  * Returns 0 on success and -1 on failure (fd gets closed in all cases)   * Returns 0 on success and -1 on failure (fd gets closed in all cases)
  */   */
 int openDevNull(int fd);  int openDevNull(int fd);
   
 #define WP() log_error_write(srv, __FILE__, __LINE__, "");  
   
 int open_logfile_or_pipe(server *srv, const char* logfile);  int open_logfile_or_pipe(server *srv, const char* logfile);
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>