xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/own_inet_addr.h (revision 41fbaed053f8fbfdf9d2a4ee0a7386a3c83f8505)
1 /*	$NetBSD: own_inet_addr.h,v 1.1.1.1 2009/06/23 10:08:47 tron Exp $	*/
2 
3 #ifndef _OWN_INET_ADDR_H_INCLUDED_
4 #define _OWN_INET_ADDR_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	own_inet_addr 3h
9 /* SUMMARY
10 /*	determine if IP address belongs to this mail system instance
11 /* SYNOPSIS
12 /*	#include <own_inet_addr.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <inet_addr_list.h>
20 
21  /*
22   * External interface.
23   */
24 extern int own_inet_addr(struct sockaddr *);
25 extern struct INET_ADDR_LIST *own_inet_addr_list(void);
26 extern struct INET_ADDR_LIST *own_inet_mask_list(void);
27 extern int proxy_inet_addr(struct sockaddr *);
28 extern struct INET_ADDR_LIST *proxy_inet_addr_list(void);
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