map.h revision 303975
1193323Sed/* 2193323Sed * Copyright (c) 2006 Proofpoint, Inc. and its suppliers. 3193323Sed * All rights reserved. 4193323Sed * 5193323Sed * By using this file, you agree to the terms and conditions set 6193323Sed * forth in the LICENSE file which can be found at the top level of 7193323Sed * the sendmail distribution. 8193323Sed * 9193323Sed * $Id: map.h,v 8.4 2013-11-22 20:51:56 ca Exp $ 10193323Sed */ 11193323Sed 12193323Sed#ifndef _MAP_H 13193323Sed# define _MAP_H 1 14193323Sed 15193323Sedextern char *arith_map_lookup __P((MAP *, char *, char **, int *)); 16193323Sed 17193323Sedextern char *bestmx_map_lookup __P((MAP *, char *, char **, int *)); 18234353Sdim 19234353Sdimextern char *bogus_map_lookup __P((MAP *, char *, char **, int *)); 20243830Sdim 21193323Sedextern bool bt_map_open __P((MAP *, int)); 22193323Sed 23193323Sedextern char *db_map_lookup __P((MAP *, char *, char **, int *)); 24193323Sed 25193323Sedextern void db_map_store __P((MAP *, char *, char *)); 26193323Sedextern void db_map_close __P((MAP *)); 27193323Sed 28193323Sedextern bool dequote_init __P((MAP *, char *)); 29193323Sedextern char *dequote_map __P((MAP *, char *, char **, int *)); 30193323Sed 31193323Sedextern bool dns_map_open __P((MAP *, int)); 32193323Sedextern bool dns_map_parseargs __P((MAP *, char *)); 33243830Sdimextern char *dns_map_lookup __P((MAP *, char *, char **, int *)); 34243830Sdim 35243830Sdimextern bool dprintf_map_parseargs __P((MAP *, char *)); 36193323Sedextern char *dprintf_map_lookup __P((MAP *, char *, char **, int *)); 37193323Sed 38221345Sdimextern bool hash_map_open __P((MAP *, int)); 39193323Sed 40193323Sedextern bool host_map_init __P((MAP *, char *)); 41193323Sedextern char *host_map_lookup __P((MAP *, char *, char **, int *)); 42221345Sdim 43193323Sedextern char *impl_map_lookup __P((MAP *, char *, char **, int *)); 44193323Sedextern void impl_map_store __P((MAP *, char *, char *)); 45193323Sedextern bool impl_map_open __P((MAP *, int)); 46193323Sedextern void impl_map_close __P((MAP *)); 47223017Sdim 48223017Sdimextern char *macro_map_lookup __P((MAP *, char *, char **, int *)); 49223017Sdim 50193323Sedextern bool map_parseargs __P((MAP *, char *)); 51193323Sed 52193323Sedextern bool nis_map_open __P((MAP *, int)); 53193323Sedextern char *nis_map_lookup __P((MAP *, char *, char **, int *)); 54193323Sed 55193323Sedextern bool null_map_open __P((MAP *, int)); 56221345Sdimextern void null_map_close __P((MAP *)); 57221345Sdimextern char *null_map_lookup __P((MAP *, char *, char **, int *)); 58221345Sdimextern void null_map_store __P((MAP *, char *, char *)); 59221345Sdim 60193323Sedextern char *prog_map_lookup __P((MAP *, char *, char **, int *)); 61193323Sed 62193323Sedextern bool regex_map_init __P((MAP *, char *)); 63221345Sdimextern char *regex_map_lookup __P((MAP *, char *, char **, int *)); 64218893Sdim 65218893Sdimextern char *seq_map_lookup __P((MAP *, char *, char **, int *)); 66218893Sdimextern void seq_map_store __P((MAP *, char *, char *)); 67218893Sdimextern bool seq_map_parse __P((MAP *, char *)); 68218893Sdim 69218893Sdimextern char *stab_map_lookup __P((MAP *, char *, char **, int *)); 70221345Sdimextern void stab_map_store __P((MAP *, char *, char *)); 71221345Sdimextern bool stab_map_open __P((MAP *, int)); 72221345Sdim 73221345Sdimextern bool switch_map_open __P((MAP *, int)); 74221345Sdim 75221345Sdimextern bool syslog_map_parseargs __P((MAP *, char *)); 76221345Sdimextern char *syslog_map_lookup __P((MAP *, char *, char **, int *)); 77223017Sdim 78223017Sdimextern bool text_map_open __P((MAP *, int)); 79234353Sdimextern char *text_map_lookup __P((MAP *, char *, char **, int *)); 80224145Sdim 81226633Sdimextern char *udb_map_lookup __P((MAP *, char *, char **, int *)); 82226633Sdim 83226633Sdimextern bool user_map_open __P((MAP *, int)); 84226633Sdimextern char *user_map_lookup __P((MAP *, char *, char **, int *)); 85226633Sdim 86239462Sdim#endif /* ! _MAP_H */ 87239462Sdim