You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
321 B
C
14 lines
321 B
C
#ifndef _LOG_H_
|
|
#define _LOG_H_
|
|
|
|
#include "server.h"
|
|
|
|
#define WP() log_error_write(srv, __FILE__, __LINE__, "");
|
|
|
|
int log_error_open(server *srv);
|
|
int log_error_close(server *srv);
|
|
int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...);
|
|
int log_error_cycle(server *srv);
|
|
|
|
#endif
|