xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/string_list.h (revision a24efa7dea9f1f56c3bdb15a927d3516792ace1c)
1 /*	$NetBSD: string_list.h,v 1.1.1.2 2013/01/02 18:59:00 tron Exp $	*/
2 
3 #ifndef _STRING_LIST_H_INCLUDED_
4 #define _STRING_LIST_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	string_list 3h
9 /* SUMMARY
10 /*	match a string against a pattern list
11 /* SYNOPSIS
12 /*	#include <string_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 STRING_LIST	MATCH_LIST
25 
26 #define string_list_init(f, p)	match_list_init((f), (p), 1, match_string)
27 #define string_list_match	match_list_match
28 #define string_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