|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T m
Length: 4134 (0x1026)
Types: TextFile
Names: »manifest.h«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦e83f91978⟧ »EurOpenD22/isode/osimis-2.0.tar.Z«
└─⟦d846658bd⟧
└─⟦this⟧ »osimis/misode/h/manifest.h«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z«
└─⟦de7628f85⟧
└─⟦this⟧ »isode-6.0/h/manifest.h«
/* manifest.h - manifest constants */
/*
* $Header: /f/osi/h/RCS/manifest.h,v 7.2 90/01/11 18:36:03 mrose Exp $
*
*
* $Log: manifest.h,v $
* Revision 7.2 90/01/11 18:36:03 mrose
* real-sync
*
* Revision 7.1 89/11/30 23:53:56 mrose
* touch-up
*
* Revision 7.0 89/11/23 21:55:49 mrose
* Release 6.0
*
*/
/*
* NOTICE
*
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
* this agreement.
*
*/
#ifndef _MANIFEST_
#define _MANIFEST_
#ifndef _CONFIG_
#include "config.h" /* system-specific configuration */
#endif
/* target-dependent defines:
SYS5NLY - target has SYS5 types only, no BSD types
BSDSIGS - target supports BSD signals
*/
#ifdef BSD42
#undef SYS5NLY
#define BSDSIGS
#endif
#ifdef ROS
#undef SYS5NLY
#define BSDSIGS
#ifndef BSD42
#define BSD42
#endif
#endif
#ifdef SYS5
#define SYS5NLY
#undef BSDSIGS
#ifdef OSX
#undef SYS5NLY
#endif
#if defined(WIN) || defined (WINTLI)
#undef SYS5NLY
#endif
#ifdef sun
#undef SYS5NLY
#endif
#ifdef sgi
#undef SYS5NLY
#endif
#ifdef HPUX
#undef SYS5NLY
#define BSDSIGS
#undef SIGPOLL
#endif
#ifdef AIX
#undef SYS5NLY
#define BSDSIGS
#define SIGEMT SIGUSR1
int (*_signal ()) ();
#define signal _signal
#endif
#ifdef AUX
#undef SYS5NLY
#define BSDSIGS
#endif
#endif
#ifdef NSIG
#ifndef sigmask
#define sigmask(s) (1 << ((s) - 1))
#endif
#ifdef SIGPOLL
#define _SIGIO SIGPOLL
#else
#ifdef SIGUSR1
#define _SIGIO SIGUSR1
#else
#define _SIGIO SIGEMT
#endif
#endif
typedef int SBV;
#define sigioblock() sigblock (sigmask (_SIGIO))
#define sigiomask(s) sigsetmask (s)
#define siginblock() sigblock (sigmask (SIGINT))
#define siginmask(s) sigsetmask (s)
#endif
/* \f
TYPES */
#ifndef NOTOK
#define NOTOK (-1)
#define OK 0
#define DONE 1
#define CONNECTING_1 OK
#define CONNECTING_2 2
#endif
#ifndef NULLCP
typedef char *CP;
#define NULLCP ((char *) 0)
#define NULLVP ((char **) 0)
#endif
#ifndef INTDEF
#define INTDEF int
#endif
typedef INTDEF integer;
#define NULLINT ((integer) 0)
#define NULLINTP ((integer *) 0)
#ifndef makedev
#include <sys/types.h>
#if defined(WIN) || defined(WINTLI)
#include "sys/inet.h"
#ifndef NFDBITS
typedef struct fd_set { int fds_bits[1]; } fd_set;
#endif
#endif
#ifdef SYS5NLY
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
#endif
#endif
#ifndef FD_SET
#define FD_SETSIZE (sizeof (fd_set) * 8)
#define FD_SET(f,s) ((s)->fds_bits[0] |= (1 << (f)))
#define FD_CLR(f,s) ((s)->fds_bits[0] &= ~(1 << (f)))
#define FD_ISSET(f,s) ((s)->fds_bits[0] & (1 << (f)))
#define FD_ZERO(s) ((s)->fds_bits[0] = 0)
#endif
#define NULLFD ((fd_set *) 0)
#undef IP
typedef int *IP;
#define NULLIP ((IP) 0)
typedef int (*IFP) ();
#define NULLIFP ((IFP) 0)
typedef void (*VFP) ();
#define NULLVFP ((VFP) 0)
#ifndef SFD
#if !defined(SVR3) && !defined(SUNOS4) && !defined(BSD44)
#define SFD int
#define SFP IFP
#else
#define SFD void
#define SFP VFP
#endif
#endif
struct udvec { /* looks like a BSD iovec... */
caddr_t uv_base;
int uv_len;
int uv_inline;
};
struct qbuf {
struct qbuf *qb_forw; /* doubly-linked list */
struct qbuf *qb_back; /* .. */
int qb_len; /* length of data */
char *qb_data; /* current pointer into data */
char qb_base[1]; /* extensible... */
};
#define QBFREE(qb) \
{ \
register struct qbuf *QB, \
*QP; \
\
for (QB = (qb) -> qb_forw; QB != (qb); QB = QP) { \
QP = QB -> qb_forw; \
remque (QB); \
free ((char *) QB); \
} \
}
#ifndef min
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
#endif
#ifdef SYS5
#if !defined(WINTLI) && !defined(WIN)
#ifndef sun
#define getdtablesize() _NFILE
#endif
#else
#define getdtablesize() (_NFILE - 1)
#endif
#if defined(RT) || defined (HPUX)
#define ntohs(x) (x)
#define htons(x) (x)
#define ntohl(x) (x)
#define htonl(x) (x)
#endif
#endif
#endif