1#ifndef _MAPS_H_INCLUDED_
2#define _MAPS_H_INCLUDED_
3
4/*++
5/* NAME
6/*	maps 3h
7/* SUMMARY
8/*	multi-dictionary search
9/* SYNOPSIS
10/*	#include <maps.h>
11/* DESCRIPTION
12/* .nf
13
14 /*
15  * Utility library.
16  */
17#include <dict.h>
18
19 /*
20  * Dictionary name storage. We're borrowing from the argv(3) module.
21  */
22typedef struct MAPS {
23    char   *title;
24    struct ARGV *argv;
25    int     error;			/* last request only */
26} MAPS;
27
28extern MAPS *maps_create(const char *, const char *, int);
29extern const char *maps_find(MAPS *, const char *, int);
30extern MAPS *maps_free(MAPS *);
31
32/* LICENSE
33/* .ad
34/* .fi
35/*	The Secure Mailer license must be distributed with this software.
36/* AUTHOR(S)
37/*	Wietse Venema
38/*	IBM T.J. Watson Research
39/*	P.O. Box 704
40/*	Yorktown Heights, NY 10598, USA
41/*--*/
42
43#endif
44