1*12710SEric.Taylor@Sun.COM /*
2*12710SEric.Taylor@Sun.COM * CDDL HEADER START
3*12710SEric.Taylor@Sun.COM *
4*12710SEric.Taylor@Sun.COM * The contents of this file are subject to the terms of the
5*12710SEric.Taylor@Sun.COM * Common Development and Distribution License (the "License").
6*12710SEric.Taylor@Sun.COM * You may not use this file except in compliance with the License.
7*12710SEric.Taylor@Sun.COM *
8*12710SEric.Taylor@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*12710SEric.Taylor@Sun.COM * or http://www.opensolaris.org/os/licensing.
10*12710SEric.Taylor@Sun.COM * See the License for the specific language governing permissions
11*12710SEric.Taylor@Sun.COM * and limitations under the License.
12*12710SEric.Taylor@Sun.COM *
13*12710SEric.Taylor@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each
14*12710SEric.Taylor@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*12710SEric.Taylor@Sun.COM * If applicable, add the following below this CDDL HEADER, with the
16*12710SEric.Taylor@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying
17*12710SEric.Taylor@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner]
18*12710SEric.Taylor@Sun.COM *
19*12710SEric.Taylor@Sun.COM * CDDL HEADER END
20*12710SEric.Taylor@Sun.COM */
21*12710SEric.Taylor@Sun.COM /*
22*12710SEric.Taylor@Sun.COM * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
23*12710SEric.Taylor@Sun.COM */
24*12710SEric.Taylor@Sun.COM
25*12710SEric.Taylor@Sun.COM #include <mdb/mdb_modapi.h>
26*12710SEric.Taylor@Sun.COM
27*12710SEric.Taylor@Sun.COM #include "../genunix/list.h"
28*12710SEric.Taylor@Sun.COM
29*12710SEric.Taylor@Sun.COM static const mdb_walker_t walkers[] = {
30*12710SEric.Taylor@Sun.COM { LIST_WALK_NAME, LIST_WALK_DESC,
31*12710SEric.Taylor@Sun.COM list_walk_init, list_walk_step, list_walk_fini },
32*12710SEric.Taylor@Sun.COM { NULL }
33*12710SEric.Taylor@Sun.COM };
34*12710SEric.Taylor@Sun.COM
35*12710SEric.Taylor@Sun.COM static const mdb_modinfo_t modinfo = {
36*12710SEric.Taylor@Sun.COM MDB_API_VERSION, NULL, walkers
37*12710SEric.Taylor@Sun.COM };
38*12710SEric.Taylor@Sun.COM
39*12710SEric.Taylor@Sun.COM const mdb_modinfo_t *
_mdb_init(void)40*12710SEric.Taylor@Sun.COM _mdb_init(void)
41*12710SEric.Taylor@Sun.COM {
42*12710SEric.Taylor@Sun.COM return (&modinfo);
43*12710SEric.Taylor@Sun.COM }
44