summaryrefslogtreecommitdiffstats
path: root/src/global/namadr_list.h
blob: e327784a34eab5dd9d274ed827ba075d477b0e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef _NAMADR_LIST_H_INCLUDED_
#define _NAMADR_LIST_H_INCLUDED_

/*++
/* NAME
/*	namadr 3h
/* SUMMARY
/*	name/address membership
/* SYNOPSIS
/*	#include <namadr_list.h>
/* DESCRIPTION
/* .nf

 /*
  * Utility library.
  */
#include <match_list.h>

 /*
  * External interface.
  */
#define NAMADR_LIST MATCH_LIST

#define namadr_list_init(o, f, p) \
	match_list_init((o), (f), (p), 2, match_hostname, match_hostaddr)
#define namadr_list_match	match_list_match
#define namadr_list_free	match_list_free

/* LICENSE
/* .ad
/* .fi
/*	The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/*	Wietse Venema
/*	IBM T.J. Watson Research
/*	P.O. Box 704
/*	Yorktown Heights, NY 10598, USA
/*--*/

#endif