]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/log.h
roll version to 1.8.1 for conversion to git repository
[irc/evilnet/x3.git] / src / log.h
index bc726867fba10c8284bc9f89161bf55cf75264e3..124f0613290723abc4021eceb18474093da2b9aa 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -1,11 +1,11 @@
 /* log.h - Diagnostic and error logging
  * Copyright 2000-2003 srvx Development Team
  *
- * This file is part of srvx.
+ * This file is part of x3.
  *
- * srvx is free software; you can redistribute it and/or modify
+ * x3 is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -23,6 +23,8 @@
 
 #include "common.h"
 
+#define AccountingLog   "everything.log"
+
 enum log_severity {
     LOG_REPLAY,   /* 0 */
     LOG_DEBUG,
@@ -91,5 +93,7 @@ void log_report_entry(struct logEntry *match, void *extra);
 struct logSearch* log_discrim_create(struct userNode *service, struct userNode *user, unsigned int argc, char *argv[]);
 unsigned int log_entry_search(struct logSearch *discrim, entry_search_func esf, void *data);
 void report_entry(struct userNode *service, struct userNode *user, struct logEntry *entry);
+void SyncLog(char *fmt,...);
+int ShowLog(struct userNode *user, struct chanNode *cptr, char *chan, char *nuh, char *command, char *rest, int maxlines);
 
 #endif