Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / util / dict_db.h
blobfc31e6d7535e7d6012c0e2bbc0a47460e78351a7
1 /* $NetBSD$ */
3 #ifndef _DICT_DB_H_INCLUDED_
4 #define _DICT_DB_H_INCLUDED_
6 /*++
7 /* NAME
8 /* dict_db 3h
9 /* SUMMARY
10 /* dictionary manager interface to DB files
11 /* SYNOPSIS
12 /* #include <dict_db.h>
13 /* DESCRIPTION
14 /* .nf
17 * Utility library.
19 #include <dict.h>
22 * External interface.
24 #define DICT_TYPE_HASH "hash"
25 #define DICT_TYPE_BTREE "btree"
27 extern DICT *dict_hash_open(const char *, int, int);
28 extern DICT *dict_btree_open(const char *, int, int);
31 * XXX Should be part of the DICT interface.
33 extern int dict_db_cache_size;
35 /* LICENSE
36 /* .ad
37 /* .fi
38 /* The Secure Mailer license must be distributed with this software.
39 /* AUTHOR(S)
40 /* Wietse Venema
41 /* IBM T.J. Watson Research
42 /* P.O. Box 704
43 /* Yorktown Heights, NY 10598, USA
44 /*--*/
46 #endif