]> 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 ee6ca3a935bf382ab1c5529d24710a75edd37c33..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
@@ -55,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