xref: /onnv-gate/usr/src/cmd/mdb/common/modules/genunix/irm.h (revision 8561:14b63022c7d9)
1*8561SScott.Carter@Sun.COM /*
2*8561SScott.Carter@Sun.COM  * CDDL HEADER START
3*8561SScott.Carter@Sun.COM  *
4*8561SScott.Carter@Sun.COM  * The contents of this file are subject to the terms of the
5*8561SScott.Carter@Sun.COM  * Common Development and Distribution License (the "License").
6*8561SScott.Carter@Sun.COM  * You may not use this file except in compliance with the License.
7*8561SScott.Carter@Sun.COM  *
8*8561SScott.Carter@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*8561SScott.Carter@Sun.COM  * or http://www.opensolaris.org/os/licensing.
10*8561SScott.Carter@Sun.COM  * See the License for the specific language governing permissions
11*8561SScott.Carter@Sun.COM  * and limitations under the License.
12*8561SScott.Carter@Sun.COM  *
13*8561SScott.Carter@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
14*8561SScott.Carter@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*8561SScott.Carter@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
16*8561SScott.Carter@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
17*8561SScott.Carter@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
18*8561SScott.Carter@Sun.COM  *
19*8561SScott.Carter@Sun.COM  * CDDL HEADER END
20*8561SScott.Carter@Sun.COM  */
21*8561SScott.Carter@Sun.COM /*
22*8561SScott.Carter@Sun.COM  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*8561SScott.Carter@Sun.COM  * Use is subject to license terms.
24*8561SScott.Carter@Sun.COM  */
25*8561SScott.Carter@Sun.COM 
26*8561SScott.Carter@Sun.COM #ifndef	_IRM_H
27*8561SScott.Carter@Sun.COM #define	_IRM_H
28*8561SScott.Carter@Sun.COM 
29*8561SScott.Carter@Sun.COM #ifdef	__cplusplus
30*8561SScott.Carter@Sun.COM extern "C" {
31*8561SScott.Carter@Sun.COM #endif
32*8561SScott.Carter@Sun.COM 
33*8561SScott.Carter@Sun.COM #include <sys/mdb_modapi.h>
34*8561SScott.Carter@Sun.COM 
35*8561SScott.Carter@Sun.COM extern int	irmpools_walk_init(mdb_walk_state_t *);
36*8561SScott.Carter@Sun.COM extern int	irmreqs_walk_init(mdb_walk_state_t *);
37*8561SScott.Carter@Sun.COM extern int	irmpools_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
38*8561SScott.Carter@Sun.COM extern int	irmreqs_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
39*8561SScott.Carter@Sun.COM extern int	irmreq_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
40*8561SScott.Carter@Sun.COM 
41*8561SScott.Carter@Sun.COM #ifdef	__cplusplus
42*8561SScott.Carter@Sun.COM }
43*8561SScott.Carter@Sun.COM #endif
44*8561SScott.Carter@Sun.COM 
45*8561SScott.Carter@Sun.COM #endif	/* _IRM_H */
46