1 /* $NetBSD: maps.h,v 1.1.1.1 2009/06/23 10:08:47 tron Exp $ */ 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 */ 24 typedef struct MAPS { 25 char *title; 26 struct ARGV *argv; 27 } MAPS; 28 29 extern MAPS *maps_create(const char *, const char *, int); 30 extern const char *maps_find(MAPS *, const char *, int); 31 extern 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