summaryrefslogtreecommitdiff
path: root/data/lighttpd/lighttpd-1.4.53/src/log.h
blob: 815b6ab1af4482dbb635786aca6d3551fca08ef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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