1*789Sahrens /*
2*789Sahrens * CDDL HEADER START
3*789Sahrens *
4*789Sahrens * The contents of this file are subject to the terms of the
5*789Sahrens * Common Development and Distribution License, Version 1.0 only
6*789Sahrens * (the "License"). You may not use this file except in compliance
7*789Sahrens * with the License.
8*789Sahrens *
9*789Sahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*789Sahrens * or http://www.opensolaris.org/os/licensing.
11*789Sahrens * See the License for the specific language governing permissions
12*789Sahrens * and limitations under the License.
13*789Sahrens *
14*789Sahrens * When distributing Covered Code, include this CDDL HEADER in each
15*789Sahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*789Sahrens * If applicable, add the following below this CDDL HEADER, with the
17*789Sahrens * fields enclosed by brackets "[]" replaced with your own identifying
18*789Sahrens * information: Portions Copyright [yyyy] [name of copyright owner]
19*789Sahrens *
20*789Sahrens * CDDL HEADER END
21*789Sahrens */
22*789Sahrens /*
23*789Sahrens * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24*789Sahrens * Use is subject to license terms.
25*789Sahrens */
26*789Sahrens
27*789Sahrens #pragma ident "%Z%%M% %I% %E% SMI"
28*789Sahrens
29*789Sahrens #include <mdb/mdb_modapi.h>
30*789Sahrens
31*789Sahrens #include "../genunix/avl.h"
32*789Sahrens
33*789Sahrens static const mdb_walker_t walkers[] = {
34*789Sahrens { AVL_WALK_NAME, AVL_WALK_DESC,
35*789Sahrens avl_walk_init, avl_walk_step, avl_walk_fini },
36*789Sahrens { NULL }
37*789Sahrens };
38*789Sahrens
39*789Sahrens static const mdb_modinfo_t modinfo = {
40*789Sahrens MDB_API_VERSION, NULL, walkers
41*789Sahrens };
42*789Sahrens
43*789Sahrens const mdb_modinfo_t *
_mdb_init(void)44*789Sahrens _mdb_init(void)
45*789Sahrens {
46*789Sahrens return (&modinfo);
47*789Sahrens }
48