Commit | Line | Data |
---|---|---|
1 | #ifndef CONSTMAP_H | |
2 | #define CONSTMAP_H | |
3 | ||
4 | typedef unsigned long constmap_hash; | |
5 | ||
6 | struct constmap { | |
7 | int num; | |
8 | constmap_hash mask; | |
9 | constmap_hash *hash; | |
10 | int *first; | |
11 | int *next; | |
12 | char **input; | |
13 | int *inputlen; | |
14 | } ; | |
15 | ||
16 | extern int constmap_init(); | |
17 | extern void constmap_free(); | |
18 | extern char *constmap(); | |
19 | ||
20 | #endif |