1 /*****************************************************************
2 * SQUID - a library of functions for biological sequence analysis
3 * Copyright (C) 1992-2002 Washington University School of Medicine
5 * This source code is freely distributed under the terms of the
6 * GNU General Public License. See the files COPYRIGHT and LICENSE
8 *****************************************************************/
10 #ifndef SQUID_GKI_INCLUDED
11 #define SQUID_GKI_INCLUDED
14 * SRE, Sat May 1 15:07:22 1999
16 * Declarations of structures, functions for generic key index
17 * module: emulation of Perl hashes. See gki.c.
19 * RCS $Id: gki.h 217 2011-03-19 10:27:10Z andreas $ (Original squid RCS Id: gki.h,v 1.2 1999/07/15 22:30:45 eddy Exp)
23 * key, array index pairs are kept in linked list structures.
32 * a dynamically resized hash structure;
33 * contains a hash table and associated data
36 struct gki_elem **table;
44 void GKIFree(GKI *hash);
45 int GKIHashValue(GKI *hash, char *key);
46 int GKIStoreKey(GKI *hash, char *key);
47 int GKIKeyIndex(GKI *hash, char *key);
48 void GKIStatus(GKI *hash);
50 #endif /* SQUID_GKI_INCLUDED */