X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/d3455e2c7e2f9040e1b7628d9cf52b26a24dcefc..e8da6ccee609386b3eeb5dab978646c0d89eed8e:/include/logger.h diff --git a/include/logger.h b/include/logger.h index 88ea298..68b677c 100644 --- a/include/logger.h +++ b/include/logger.h @@ -28,7 +28,6 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $Id: s_log.h 1481 2006-05-27 17:24:05Z nenolod $ */ #ifndef INCLUDED_s_log_h @@ -46,7 +45,6 @@ typedef enum ilogfile L_SERVER, L_KILL, L_KLINE, - L_GLINE, L_OPERSPY, L_IOERROR, LAST_LOGFILE @@ -56,12 +54,13 @@ struct Client; extern void init_main_logfile(void); extern void open_logfiles(void); +extern void close_logfiles(void); extern void ilog(ilogfile dest, const char *fmt, ...) AFP(2, 3); extern void inotice(const char *fmt, ...) AFP(1, 2); extern void iwarn(const char *fmt, ...) AFP(1, 2); extern void ierror(const char *fmt, ...) AFP(1, 2); extern void report_operspy(struct Client *, const char *, const char *); -extern const char *smalldate(void); +extern const char *smalldate(time_t); extern void ilog_error(const char *); #endif