9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi/*
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * CDDL HEADER START
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi *
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * The contents of this file are subject to the terms of the
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * Common Development and Distribution License (the "License").
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * You may not use this file except in compliance with the License.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi *
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * or http://www.opensolaris.org/os/licensing.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * See the License for the specific language governing permissions
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * and limitations under the License.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi *
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * When distributing Covered Code, include this CDDL HEADER in each
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * If applicable, add the following below this CDDL HEADER, with the
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * fields enclosed by brackets "[]" replaced with your own identifying
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * information: Portions Copyright [yyyy] [name of copyright owner]
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi *
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * CDDL HEADER END
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi */
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi/*
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi * Use is subject to license terms.
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi */
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#ifndef _FM_H
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#define _FM_H
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#pragma ident "%Z%%M% %I% %E% SMI"
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#ifdef __cplusplus
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern "C" {
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#endif
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#include <mdb/mdb_modapi.h>
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern int ereportq_dump_walk_init(mdb_walk_state_t *);
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern int ereportq_dump_walk_step(mdb_walk_state_t *);
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern int ereportq_pend_walk_init(mdb_walk_state_t *);
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern int ereportq_pend_walk_step(mdb_walk_state_t *);
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindiextern int ereport(uintptr_t, uint_t, int, const mdb_arg_t *);
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#ifdef __cplusplus
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi}
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#endif
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi#endif /* _FM_H */