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