]>
jfr.im git - irc/quakenet/newserv.git/blob - whowas/whowas.h
5 #define WW_MAXENTRIES 100000
6 #define WW_MASKLEN (HOSTLEN + USERLEN + NICKLEN)
7 #define WW_REASONLEN 512
9 typedef struct whowas
{
12 nick
*nick
; /* unlinked nick */
14 /* WHOWAS_QUIT or WHOWAS_KILL */
26 extern whowas
*whowas_head
, *whowas_tail
;
27 extern int whowas_count
;
31 #define WHOWAS_RENAME 2
33 whowas
*whowas_fromnick(nick
*np
);
34 nick
*whowas_tonick(whowas
*ww
);
35 void whowas_freenick(nick
*np
);
36 whowas
*whowas_chase(const char *nick
, int maxage
);
37 const char *whowas_format(whowas
*ww
);
38 void whowas_free(whowas
*ww
);
40 unsigned int nextwhowasmarker(void);
42 #endif /* __WHOWAS_H */