13c112a2bSEric Taylor /*
23c112a2bSEric Taylor * CDDL HEADER START
33c112a2bSEric Taylor *
43c112a2bSEric Taylor * The contents of this file are subject to the terms of the
53c112a2bSEric Taylor * Common Development and Distribution License (the "License").
63c112a2bSEric Taylor * You may not use this file except in compliance with the License.
73c112a2bSEric Taylor *
83c112a2bSEric Taylor * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93c112a2bSEric Taylor * or http://www.opensolaris.org/os/licensing.
103c112a2bSEric Taylor * See the License for the specific language governing permissions
113c112a2bSEric Taylor * and limitations under the License.
123c112a2bSEric Taylor *
133c112a2bSEric Taylor * When distributing Covered Code, include this CDDL HEADER in each
143c112a2bSEric Taylor * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153c112a2bSEric Taylor * If applicable, add the following below this CDDL HEADER, with the
163c112a2bSEric Taylor * fields enclosed by brackets "[]" replaced with your own identifying
173c112a2bSEric Taylor * information: Portions Copyright [yyyy] [name of copyright owner]
183c112a2bSEric Taylor *
193c112a2bSEric Taylor * CDDL HEADER END
203c112a2bSEric Taylor */
213c112a2bSEric Taylor /*
223c112a2bSEric Taylor * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
233c112a2bSEric Taylor */
243c112a2bSEric Taylor
253c112a2bSEric Taylor #include <mdb/mdb_modapi.h>
263c112a2bSEric Taylor
273c112a2bSEric Taylor #include "../genunix/list.h"
283c112a2bSEric Taylor
293c112a2bSEric Taylor static const mdb_walker_t walkers[] = {
303c112a2bSEric Taylor { LIST_WALK_NAME, LIST_WALK_DESC,
313c112a2bSEric Taylor list_walk_init, list_walk_step, list_walk_fini },
323c112a2bSEric Taylor { NULL }
333c112a2bSEric Taylor };
343c112a2bSEric Taylor
353c112a2bSEric Taylor static const mdb_modinfo_t modinfo = {
363c112a2bSEric Taylor MDB_API_VERSION, NULL, walkers
373c112a2bSEric Taylor };
383c112a2bSEric Taylor
393c112a2bSEric Taylor const mdb_modinfo_t *
_mdb_init(void)403c112a2bSEric Taylor _mdb_init(void)
413c112a2bSEric Taylor {
423c112a2bSEric Taylor return (&modinfo);
433c112a2bSEric Taylor }
44