ftp.nice.ch/pub/next/developer/languages/c/gcc.2.7.2.2.I.b.tar.gz#/lib/gcc-lib/i386-next-nextstep3/2.7.2.2.f.2/include/bsd/rpc/types.h

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

/*	@(#)types.h	1.5 88/05/02 4.0NFSSRC SMI	*/

/* 
 * Copyright (c) 1988 by Sun Microsystems, Inc.
 *      @(#)types.h 1.20 88/02/08 SMI      
 */


/*
 * Rpc additions to <sys/types.h>
 */
#ifndef __TYPES_RPC_HEADER__
#define __TYPES_RPC_HEADER__

#define	bool_t	int
#define	enum_t	int
#define __dontcare__	-1

#ifndef FALSE
#	define	FALSE	(0)
#endif

#ifndef TRUE
#	define	TRUE	(1)
#endif

#ifndef NULL
#ifdef __STRICT_BSD__
#	define NULL 0
#else
#	define NULL ((void *)0)
#endif
#endif

#ifdef __STRICT_BSD__
extern char *malloc();
#else
#include <stdlib.h>
#endif
#define mem_alloc(bsize)	malloc(bsize)
#define mem_free(ptr, bsize)	free(ptr)

#include <sys/types.h>

#ifndef _TIME_
#include <sys/time.h>
#endif

#endif /* ndef __TYPES_RPC_HEADER__ */

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