/usr/include/biosquid/gki.h is in biosquid-dev 1.9g+cvs20050121-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /*****************************************************************
* @LICENSE@
*****************************************************************/
#ifndef SQUID_GKI_INCLUDED
#define SQUID_GKI_INCLUDED
/* gki.h
* SRE, Sat May 1 15:07:22 1999
*
* Declarations of structures, functions for generic key index
* module: emulation of Perl hashes. See gki.c.
*
* RCS $Id: gki.h,v 1.2 1999/07/15 22:30:45 eddy Exp $
*/
/* gki_elem:
* key, array index pairs are kept in linked list structures.
*/
struct gki_elem {
char *key;
int idx;
struct gki_elem *nxt;
};
/* gki:
* a dynamically resized hash structure;
* contains a hash table and associated data
*/
typedef struct {
struct gki_elem **table;
int primelevel;
int nhash;
int nkeys;
} GKI;
GKI *GKIInit(void);
void GKIFree(GKI *hash);
int GKIHashValue(GKI *hash, char *key);
int GKIStoreKey(GKI *hash, char *key);
int GKIKeyIndex(GKI *hash, char *key);
void GKIStatus(GKI *hash);
#endif /* SQUID_GKI_INCLUDED */
|