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