ftp.nice.ch/pub/next/unix/network/system/bind.8.1.2-nextstep.d.tar.gz#/bind.8.1.2-nextstep.d/include/port_after.h

This is port_after.h in view mode; [Download] [Up]

#undef CAN_RECONNECT
#define USE_POSIX
#undef POSIX_SIGNALS
#undef USE_UTIME
#define USE_WAITPID
#define HAVE_GETRUSAGE
#define HAVE_FCHMOD
#undef HAVE_SA_LEN

#define _TIMEZONE timezone

#define PORT_NONBLOCK	O_NONBLOCK
#define PORT_WOULDBLK	EWOULDBLOCK
#define WAIT_T		int
#define KSYMS		"/mach"
#define KMEM		"/dev/kmem"
#define UDPSUM		"udpcksum"

#undef _PATH_NAMED
#define _PATH_NAMED	"/usr/etc/named"
#undef _PATH_XFER
#define _PATH_XFER	"/usr/etc/named-xfer"

#define	STDERR_FILENO	2

#define	NEED_STRDUP
extern char *strdup(const char *);

#define	NEED_STRSEP
extern char *strsep(char **, const char *);

#define NEED_PSELECT

#define	NEED_PUTENV
extern int putenv(char *);

#define	NEED_SETENV
extern int setenv(const char *, const char *, int);

#define	NEED_DAEMON
extern int daemon(int, int);

extern void endpwent(void);
extern int getopt (int argc, char **argv, char *optstring);
extern char *optarg;
extern int optind;

#define isascii(c)      ((unsigned)(c)<=0177)

/*
 * We need to know the IPv6 address family number even on
IPv4-only systems.
 * Note that this is NOT a protocol constant, and that if the
system has its
 * own AF_INET6, different from ours below, all of BIND's
libraries and
 * executables will need to be recompiled after the system
<sys/socket.h>
 * has had this type added.  The type number below is correct on
most BSD-
 * derived systems for which AF_INET6 is defined.
 */
#ifndef AF_INET6
#define AF_INET6	24
#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.