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