]> jfr.im git - solanum.git/blobdiff - include/logger.h
Innovation by sed
[solanum.git] / include / logger.h
index 88ea298336823644ec6ee2f45efdf11019fa87f7..faa892705d8cffb5e4a4175bd3a2972da793b206 100644 (file)
@@ -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