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