[core] cleanup: consolidate FAM code in stat_cache
[lighttpd.git] / src / log.h
blob50f031e9bfe36a75a052add4cfb38e2097fcbfc3
1 #ifndef _LOG_H_
2 #define _LOG_H_
3 #include "first.h"
4 #include <sys/types.h>
6 #include "base_decls.h"
7 #include "buffer.h"
9 struct timespec; /* declaration */
10 int log_clock_gettime_realtime (struct timespec *ts);
12 ssize_t write_all(int fd, const void* buf, size_t count);
14 int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...);
15 int log_error_write_multiline_buffer(server *srv, const char *filename, unsigned int line, buffer *multiline, const char *fmt, ...);
17 #endif