1 /*****************************************************************
2 * HMMER - Biological sequence analysis with profile HMMs
3 * Copyright (C) 1992-1999 Washington University School of Medicine
6 * This source code is distributed under the terms of the
7 * GNU General Public License. See the files COPYING and LICENSE
9 *****************************************************************/
11 #ifndef SQUID_GKI_INCLUDED
12 #define SQUID_GKI_INCLUDED
15 * SRE, Sat May 1 15:07:22 1999
17 * Declarations of structures, functions for generic key index
18 * module: emulation of Perl hashes. See gki.c.
20 * RCS $Id: gki.h,v 1.1.1.1 2005/03/22 08:34:18 cmzmasek Exp $
24 * key, array index pairs are kept in linked list structures.
33 * a dynamically resized hash structure;
34 * contains a hash table and associated data
37 struct gki_elem **table;
45 void GKIFree(GKI *hash);
46 int GKIHashValue(GKI *hash, char *key);
47 int GKIStoreKey(GKI *hash, char *key);
48 int GKIKeyIndex(GKI *hash, char *key);
49 void GKIStatus(GKI *hash);
51 #endif /* SQUID_GKI_INCLUDED */