hash.h

src/hash.h · 276 B

From the archive DaleMUD.3.0.tar.gz

Download the archive   « Back to the archive contents

struct hash_link {
  int	key;
  struct hash_link *next;
  void	*data;
};

struct hash_header {
  int	rec_size;
  int	table_size;
  int	*keylist, klistsize, klistlen; /* this is really lame,
					  AMAZINGLY lame */
  struct hash_link	**buckets;
};


#define WORLD_SIZE 50000

Site Stats

Snippets: 1791
Codebases: 571