diff options
| author | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-02-04 00:08:53 +0100 |
| commit | 69aec538b456402170dc723af417ba5c05389c32 (patch) | |
| tree | e6f34c543f17c6392447ea337b2e2868212424d1 /constmap.h | |
| download | qmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2 qmail-69aec538b456402170dc723af417ba5c05389c32.zip | |
qmail 1.03 import
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 | ||
