1*824c205fSml93401 /* 2*824c205fSml93401 * CDDL HEADER START 3*824c205fSml93401 * 4*824c205fSml93401 * The contents of this file are subject to the terms of the 5*824c205fSml93401 * Common Development and Distribution License (the "License"). 6*824c205fSml93401 * You may not use this file except in compliance with the License. 7*824c205fSml93401 * 8*824c205fSml93401 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*824c205fSml93401 * or http://www.opensolaris.org/os/licensing. 10*824c205fSml93401 * See the License for the specific language governing permissions 11*824c205fSml93401 * and limitations under the License. 12*824c205fSml93401 * 13*824c205fSml93401 * When distributing Covered Code, include this CDDL HEADER in each 14*824c205fSml93401 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*824c205fSml93401 * If applicable, add the following below this CDDL HEADER, with the 16*824c205fSml93401 * fields enclosed by brackets "[]" replaced with your own identifying 17*824c205fSml93401 * information: Portions Copyright [yyyy] [name of copyright owner] 18*824c205fSml93401 * 19*824c205fSml93401 * CDDL HEADER END 20*824c205fSml93401 */ 21*824c205fSml93401 /* 22*824c205fSml93401 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*824c205fSml93401 * Use is subject to license terms. 24*824c205fSml93401 */ 25*824c205fSml93401 26*824c205fSml93401 #ifndef _SYS_IPC_RCTL_H 27*824c205fSml93401 #define _SYS_IPC_RCTL_H 28*824c205fSml93401 29*824c205fSml93401 #pragma ident "%Z%%M% %I% %E% SMI" 30*824c205fSml93401 31*824c205fSml93401 #include <sys/rctl.h> 32*824c205fSml93401 33*824c205fSml93401 #ifdef __cplusplus 34*824c205fSml93401 extern "C" { 35*824c205fSml93401 #endif 36*824c205fSml93401 37*824c205fSml93401 typedef struct ipc_rqty { /* datum protected by: */ 38*824c205fSml93401 rctl_qty_t ipcq_shmmni; /* shm's ipcs_lock */ 39*824c205fSml93401 rctl_qty_t ipcq_semmni; /* sem's ipcs_lock */ 40*824c205fSml93401 rctl_qty_t ipcq_msgmni; /* msg's ipcs_lock */ 41*824c205fSml93401 } ipc_rqty_t; 42*824c205fSml93401 43*824c205fSml93401 #ifdef __cplusplus 44*824c205fSml93401 } 45*824c205fSml93401 #endif 46*824c205fSml93401 47*824c205fSml93401 #endif /* _SYS_IPC_RCTL_H */ 48