xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/connect.h (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
1 /*	$NetBSD: connect.h,v 1.1.1.2 2011/03/02 19:32:41 tron Exp $	*/
2 
3 #ifndef _CONNECT_H_INCLUDED_
4 #define _CONNECT_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	connect 3h
9 /* SUMMARY
10 /*	client interface file
11 /* SYNOPSIS
12 /*	#include <connect.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <iostuff.h>
20 
21  /*
22   * Client external interface.
23   */
24 extern int unix_connect(const char *, int, int);
25 extern int inet_connect(const char *, int, int);
26 extern int stream_connect(const char *, int, int);
27 extern int stream_pass_connect(const char *, int, int);
28 
29 #define unix_pass_connect unix_connect
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