X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4016731b1cf38951bc7566e7bc3ca8ebb8f282b4..a6f63a829e22fa83a4551cb9aad3e316e7c8bb18:/include/logger.h diff --git a/include/logger.h b/include/logger.h index 88ea2983..faa89270 100644 --- a/include/logger.h +++ b/include/logger.h @@ -27,8 +27,6 @@ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING * 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 +44,6 @@ typedef enum ilogfile L_SERVER, L_KILL, L_KLINE, - L_GLINE, L_OPERSPY, L_IOERROR, LAST_LOGFILE @@ -56,12 +53,14 @@ 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 idebug(const char *fmt, ...) AFP(1, 2); 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