]> jfr.im git - irc/quakenet/newserv.git/blame - whowas/whowas.h
Make the pool allocator Valgrind-aware.
[irc/quakenet/newserv.git] / whowas / whowas.h
CommitLineData
55ed35b4 1#define WW_MAXAGE 3600
fa6819a7
GB
2#define WW_MAXENTRIES 100000
3#define WW_MASKLEN (HOSTLEN + USERLEN + NICKLEN)
4#define WW_REASONLEN 512
5
6typedef struct whowas {
7 char nick[NICKLEN+1];
8 char ident[USERLEN+1];
9 char host[HOSTLEN+1];
10 char realname[REALLEN+1];
d6385de2 11 sstring *reason;
fa6819a7
GB
12
13 time_t seen;
14
15 struct whowas *next;
d6385de2 16 struct whowas *prev;
fa6819a7 17} whowas;