X-Git-Url: http://git.pk910.de/?p=srvx.git;a=blobdiff_plain;f=src%2Flog.h;h=8493e76f0c922401b5725af8b532f3fd8bde2aa6;hp=bc726867fba10c8284bc9f89161bf55cf75264e3;hb=4a2c9aa9ab119a212d78c6a3a73261de56800251;hpb=007cc230a68daa6785f28a979e67ad9e67b1c87a diff --git a/src/log.h b/src/log.h index bc72686..8493e76 100644 --- a/src/log.h +++ b/src/log.h @@ -57,15 +57,15 @@ void log_replay(struct log_type *type, int is_write, const char *line); struct logEntry { /* field nullable in real entries? */ - time_t time; - enum log_severity slvl; + unsigned long time; /* no */ + enum log_severity slvl; /* no */ struct userNode *bot; /* no */ char *channel_name; /* yes */ char *user_nick; /* no */ char *user_account; /* yes */ char *user_hostmask; /* yes */ char *command; /* no */ - char *default_desc; + char *default_desc; /* no */ struct logEntry *next; struct logEntry *prev; }; @@ -74,8 +74,8 @@ struct logSearch { struct logEntry masks; struct log_type *type; - time_t min_time; - time_t max_time; + unsigned long min_time; + unsigned long max_time; unsigned int limit; unsigned int severities; };