/*1* hash.h: header file for hash.c2*3* Written by Scott H Kilau4*5* CopyRight(c) 19976*7* See the COPYRIGHT file, or do a HELP IRCII COPYRIGHT8*9* @(#)$Id: hash.h 3 2008-02-25 09:49:14Z keaston $10*/1112#ifndef _HASH_H_13#define _HASH_H_1415#define NICKLIST_HASHSIZE 7916#define WHOWASLIST_HASHSIZE 2711718#ifndef REMOVE_FROM_LIST19# define REMOVE_FROM_LIST 120#endif212223#include "struct.h"2425/* hashentry: structure for all hash lists we make.26* quite generic, but powerful.27*/28typedef struct hashentry29{30void *list; /* our linked list, generic void * */31unsigned short hits; /* how many hits this spot has gotten */32unsigned short links; /* how many links we have at this spot */33} HashEntry;3435#endif363738