summaryrefslogtreecommitdiffstats
path: root/constmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'constmap.h')
-rw-r--r--constmap.h20
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
4typedef unsigned long constmap_hash;
5
6struct 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
16extern int constmap_init();
17extern void constmap_free();
18extern char *constmap();
19
20#endif