EPANET
2.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Modules
Pages
hash.h
1
/* HASH.H
2
**
3
** Header file for Hash Table module HASH.C
4
**
5
*/
6
7
#ifndef HASH_H
8
#define HASH_H
9
10
#define ENHASHTABLEMAXSIZE 128000
11
#define NOTFOUND 0
12
13
typedef
struct
HTentryStruct
14
{
15
char
*key;
16
int
data;
17
struct
HTentryStruct
*next;
18
}
ENHashEntry
;
19
20
typedef
ENHashEntry
*
ENHashTable
;
21
22
ENHashTable
*ENHashTableCreate(
void
);
23
int
ENHashTableInsert(
ENHashTable
*,
char
*,
int
);
24
int
ENHashTableFind(
ENHashTable
*,
char
*);
25
char
*ENHashTableFindKey(
ENHashTable
*,
char
*);
26
void
ENHashTableFree(
ENHashTable
*);
27
28
#endif
HTentryStruct
Definition:
hash.h:13
src
hash.h
Generated by
1.8.8