diff options
Diffstat (limited to 'constmap.h')
| -rw-r--r-- | constmap.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/constmap.h b/constmap.h new file mode 100644 index 0000000..3f29179 --- /dev/null +++ b/constmap.h | |||
| @@ -0,0 +1,20 @@ | |||
| 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 | ||
