xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/domain_list.h (revision 75f6d617e282811cb173c2ccfbf5df0dd71f7045)
1 /*	$NetBSD: domain_list.h,v 1.1.1.2 2013/01/02 18:58:57 tron Exp $	*/
2 
3 #ifndef _DOMAIN_LIST_H_INCLUDED_
4 #define _DOMAIN_LIST_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	domain_list 3h
9 /* SUMMARY
10 /*	match a host or domain name against a pattern list
11 /* SYNOPSIS
12 /*	#include <domain_list.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <match_list.h>
20 
21  /*
22   * External interface.
23   */
24 #define DOMAIN_LIST	MATCH_LIST
25 
26 #define domain_list_init(f, p)	match_list_init((f), (p), 1, match_hostname)
27 #define domain_list_match	match_list_match
28 #define domain_list_free	match_list_free
29 
30 /* LICENSE
31 /* .ad
32 /* .fi
33 /*	The Secure Mailer license must be distributed with this software.
34 /* AUTHOR(S)
35 /*	Wietse Venema
36 /*	IBM T.J. Watson Research
37 /*	P.O. Box 704
38 /*	Yorktown Heights, NY 10598, USA
39 /*--*/
40 
41 #endif
42