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