]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/logger.h
Add explicit support for being installed into a system triggered with --enable-fhs...
[irc/rqf/shadowircd.git] / include / logger.h
index 88ea298336823644ec6ee2f45efdf11019fa87f7..68b677caa47ce64d3189377a4cf0a6dfdf86cf44 100644 (file)
@@ -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