/*
* Copyright 2001 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* On socket-only systems, fromhost() is nothing but an alias for the
* socket-specific sock_host() function.
*
* On systems with sockets and TLI, fromhost() determines the type of API
* (sockets, TLI), then invokes the appropriate API-specific routines.
*
* Diagnostics are reported through syslog(3).
*
* Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
*/
#ifndef lint
#endif
/* System libraries. */
#include <stropts.h>
/* Local stuff. */
#include "tcpd.h"
/* fromhost - find out what network API we should use */
struct request_info *request;
{
/*
* On systems with streams support the IP network protocol family may be
* accessible via more than one programming interface: Berkeley sockets
* and the Transport Level Interface (TLI).
*
* Thus, we must first find out what programming interface to use: sockets
* or TLI. On some systems, sockets are not part of the streams system,
* so if request->fd is not a stream we simply assume sockets.
*/
} else {
}
}
#endif /* TLI || PTX || TLI_SEQUENT */