1#ifndef _LISTEN_H_INCLUDED_
2#define _LISTEN_H_INCLUDED_
3
4/*++
5/* NAME
6/*	listen 3h
7/* SUMMARY
8/*	listener interface file
9/* SYNOPSIS
10/*	#include <listen.h>
11/* DESCRIPTION
12/* .nf
13
14 /*
15  * Utility library.
16  */
17#include <iostuff.h>
18#include <htable.h>
19
20 /*
21  * Listener external interface.
22  */
23extern int unix_listen(const char *, int, int);
24extern int inet_listen(const char *, int, int);
25extern int fifo_listen(const char *, int, int);
26extern int stream_listen(const char *, int, int);
27
28extern int inet_accept(int);
29extern int unix_accept(int);
30extern int stream_accept(int);
31
32extern int recv_pass_attr(int, HTABLE **, int, ssize_t);
33extern int pass_accept(int);
34extern int pass_accept_attr(int, HTABLE **);
35
36/* LICENSE
37/* .ad
38/* .fi
39/*	The Secure Mailer license must be distributed with this software.
40/* AUTHOR(S)
41/*	Wietse Venema
42/*	IBM T.J. Watson Research
43/*	P.O. Box 704
44/*	Yorktown Heights, NY 10598, USA
45/*--*/
46
47#endif
48