File: hash.h

package info (click to toggle)
exdbm 1.0b2-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 820 kB
  • ctags: 173
  • sloc: sh: 8,797; ansic: 2,695; makefile: 60
file content (15 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

#ifndef HASH_H
#define HASH_H

/* DON'T MODIFY THE FOLLOWING DEFINES ! */

#define HASH_LENGTH 8   /* the number of bits of the hash values */
#define HASH_MAX_ENTRIES (1 << HASH_LENGTH) /* number of elements in a hash table */

/* hash value function */

int HashValueGenerator( char *name );

#endif /* end of hash.h */