X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/83ff05c356f6497be2475640d1cb2e3eb369831f..35305a49c0973c0e29e4a607c2b507a2d8face43:/src/log.h diff --git a/src/log.h b/src/log.h index 311319e..21c7710 100644 --- a/src/log.h +++ b/src/log.h @@ -3,7 +3,7 @@ * * 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 * (at your option) any later version. @@ -23,6 +23,8 @@ #include "common.h" +#define AccountingLog "everything.log" + enum log_severity { LOG_REPLAY, /* 0 */ LOG_DEBUG, @@ -92,5 +94,6 @@ struct logSearch* log_discrim_create(struct userNode *service, struct userNode * 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