/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	netmemory_defs.h,v $
 * Revision 4.2  91/09/20  05:11:37  devbld
 * Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: netmemory_defs.h,v $ $Revision: 4.2 $ (DEC) $Date: 91/09/20 05:11:37 $
 */ 
/*
 */
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/* 
 * Mach Operating System
 * Copyright (c) 1989 Carnegie-Mellon University
 * All rights reserved.  The CMU software License Agreement specifies
 * the terms and conditions for use and redistribution.
 */
/*
 * OSF/1 Release 1.0
 */
/*
 *	File:	netmemory_defs.h
 *	Author:	Joseph S. Barrera III
 *
 *	Copyright (C) 1989, Joseph S. Barrera III
 *
 *	C definitions for netmemory mig interface.
 *
 */

#ifndef	NETMEMORY_DEFS
#define	NETMEMORY_DEFS		1

#include <mach/error.h>
#include <servers/errorlib.h>


#define	NETMEMORY_SUCCESS		ERR_SUCCESS
#define NETMEMORY_INVALID_ARGUMENT	(SERV_NETMEMORY_MOD | 0x1)
#define	NETMEMORY_RESOURCE_SHORTAGE	(SERV_NETMEMORY_MOD | 0x2)

typedef mach_error_t netmemory_return_t;

typedef struct fault_info {
    int read_faults;
    int write_faults;
    int protection_faults;
} fault_info_t;

#endif	/* NETMEMORY_DEFS */
