xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/domain_list.h (revision b49cc1491953ef2348eff9c84520ffd0678a5c8d)
1 /*	$NetBSD: domain_list.h,v 1.1.1.1 2009/06/23 10:08:45 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 #include <match_ops.h>
21 
22  /*
23   * External interface.
24   */
25 #define DOMAIN_LIST	MATCH_LIST
26 
27 #define domain_list_init(f, p)	match_list_init((f), (p), 1, match_hostname)
28 #define domain_list_match	match_list_match
29 #define domain_list_free	match_list_free
30 
31 /* LICENSE
32 /* .ad
33 /* .fi
34 /*	The Secure Mailer license must be distributed with this software.
35 /* AUTHOR(S)
36 /*	Wietse Venema
37 /*	IBM T.J. Watson Research
38 /*	P.O. Box 704
39 /*	Yorktown Heights, NY 10598, USA
40 /*--*/
41 
42 #endif
43