we’ll need to distinguish these for sarge/etch as well
[alioth/jupp.git] / hash.h
1 /*
2  *      Simple hash table
3  *      Copyright
4  *              (C) 1992 Joseph H. Allen
5  *
6  *      This file is part of JOE (Joe's Own Editor)
7  */
8 #ifndef _JOE_HASH_H
9 #define _JOE_HASH_H 1
10
11 #ifdef EXTERN_CMD_C
12 __IDSTRING(rcsid_hash_h, "$MirOS: contrib/code/jupp/hash.h,v 1.4 2017/12/02 17:00:48 tg Exp $");
13 #endif
14
15 unsigned long hash PARAMS((unsigned char *s));
16 HASH *htmk PARAMS((int len));
17 void htrm PARAMS((HASH *ht));
18 void *htadd PARAMS((HASH *ht, unsigned char *name, void *val));
19 void *htfind PARAMS((HASH *ht, unsigned char *name));
20
21 #endif