1/* $NetBSD: connect.h,v 1.2 2020/03/18 19:05:21 christos 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 */ 24extern int unix_connect(const char *, int, int); 25extern int inet_connect(const char *, int, int); 26extern int stream_connect(const char *, int, int); 27extern int unix_dgram_connect(const char *, int); 28 29/* LICENSE 30/* .ad 31/* .fi 32/* The Secure Mailer license must be distributed with this software. 33/* AUTHOR(S) 34/* Wietse Venema 35/* IBM T.J. Watson Research 36/* P.O. Box 704 37/* Yorktown Heights, NY 10598, USA 38/* 39/* Wietse Venema 40/* Google, Inc. 41/* 111 8th Avenue 42/* New York, NY 10011, USA 43/*--*/ 44 45#endif 46