diff options
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/src/log.h')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/src/log.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/src/log.h b/data/lighttpd/lighttpd-1.4.53/src/log.h new file mode 100644 index 000000000..815b6ab1a --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/src/log.h @@ -0,0 +1,16 @@ +#ifndef _LOG_H_ +#define _LOG_H_ +#include "first.h" + +#include "base_decls.h" +#include "buffer.h" + +struct timespec; /* declaration */ +int log_clock_gettime_realtime (struct timespec *ts); + +ssize_t write_all(int fd, const void* buf, size_t count); + +int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...); +int log_error_write_multiline_buffer(server *srv, const char *filename, unsigned int line, buffer *multiline, const char *fmt, ...); + +#endif |