/*
Copyright (c) 1993 Xerox Corporation. All rights reserved.
*/
/*
$Id$
$Date$
*/
/*
* PCR STREAMS support.
*
* Host Dependent.
*/
#ifndef ←←PCR←IOStream←h
#define ←←PCR←IOStream←h 1
#include <config/PCR←StdTypes.h>
#include <config/PCR←OS.h>
#include <th/PCR←ThTypes.h>
#if PCR←OS←STREAMS
# ifndef I←STR
# include <host/stropts.h>
# endif
# define PCR←IOStream←IMPL 1
#else
# define PCR←IOStream←IMPL 0
#endif
#if PCR←IOStream←IMPL
extern PCR←ERes
PCR←IOStream←GetMsg(
int fd,
struct strbuf *ctlptr,
struct strbuf *dataptr,
int *flags,
const PCR←sigset←t *sigMask,
PCR←Msec wakeup
);
extern PCR←ERes
PCR←IOStream←PutMsg(
int fd,
struct strbuf *ctlptr,
struct strbuf *dataptr,
int flags,
const PCR←sigset←t *sigMask,
PCR←Msec wakeup
);
#elif defined(PCR←NO←HOSTDEP←ERR)
/* ... */
#else
# error sockets unimplemented for this host / os
#endif /* PCR←IOStream←IMPL */
#endif /* !←←PCR←IOStream←h */
/*
$Log$
*/