/** Everything known about one nick
*/
- struct Nick : public intrusive_list_node<Nick>
+ struct Nick : public insp::intrusive_list_node<Nick>
{
/** A group of users related by nickname
*/
private:
/** Order in which the users were added into the map, used to remove oldest nick
*/
- typedef intrusive_list_tail<Nick> FIFO;
+ typedef insp::intrusive_list_tail<Nick> FIFO;
/** Sets of users in the whowas system
*/
/** Shrink all data structures to honor the current settings
*/
void Prune();
+
+ /** Remove a nick (and all entries belonging to it) from the database
+ * @param it Iterator to the nick to purge
+ */
+ void PurgeNick(whowas_users::iterator it);
+
+ /** Remove a nick (and all entries belonging to it) from the database
+ * @param nick Nick to purge
+ */
+ void PurgeNick(WhoWas::Nick* nick);
};
}