summaryrefslogtreecommitdiffstats
path: root/constmap.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /constmap.h
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
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