+
+extern whowas whowasrecs[WW_MAXENTRIES];
+extern int whowasoffset; /* points to oldest record */
+
+#define WHOWAS_UNUSED 0
+#define WHOWAS_USED 1
+#define WHOWAS_QUIT 2
+#define WHOWAS_KILL 3
+#define WHOWAS_RENAME 4
+
+whowas *whowas_fromnick(nick *np, int standalone);
+nick *whowas_tonick(whowas *ww);
+void whowas_freenick(nick *np);
+whowas *whowas_chase(const char *target, int maxage);
+const char *whowas_format(whowas *ww);
+void whowas_clean(whowas *ww);
+void whowas_free(whowas *ww);
+
+unsigned int nextwhowasmarker(void);
+
+#endif /* __WHOWAS_H */