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