17c478bd9Sstevel@tonic-gate/*
27c478bd9Sstevel@tonic-gate * CDDL HEADER START
37c478bd9Sstevel@tonic-gate *
47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the
5dc0093f4Seschrock * Common Development and Distribution License (the "License").
6dc0093f4Seschrock * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate *
87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate * and limitations under the License.
127c478bd9Sstevel@tonic-gate *
137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate *
197c478bd9Sstevel@tonic-gate * CDDL HEADER END
207c478bd9Sstevel@tonic-gate */
217c478bd9Sstevel@tonic-gate/* BEGIN PROLOGUE */
227c478bd9Sstevel@tonic-gate/*
23cd3e9333SAli Bahrami * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
242d08521bSGarrett D'Amore * Copyright 2014 Garrett D'Amore <garrett@damore.org>
257c478bd9Sstevel@tonic-gate */
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate/*
287c478bd9Sstevel@tonic-gate * This file is used to limit the symbols that are to be exported from the
297c478bd9Sstevel@tonic-gate * debugger.  This ensures that dmods follow the module API.
30b272bda5Spetede *
31b272bda5Spetede * There is a special rule for generating the mapfile. If the symbol
32b272bda5Spetede * is not a function then the symbol, in the mapfile, must have the
33b272bda5Spetede * the token "variable" as the third symbol on the line - see the
34b272bda5Spetede * entries for __ctype and errno below.
357c478bd9Sstevel@tonic-gate */
367c478bd9Sstevel@tonic-gate
37cd3e9333SAli Bahrami$mapfile_version 2
38cd3e9333SAli Bahrami
39cd3e9333SAli BahramiSYMBOL_SCOPE {
407c478bd9Sstevel@tonic-gate	global:
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate/* END PROLOGUE */
437c478bd9Sstevel@tonic-gate/* BEGIN EPILOGUE */
447c478bd9Sstevel@tonic-gate		/*
457c478bd9Sstevel@tonic-gate		 * Secret additions to the module API
467c478bd9Sstevel@tonic-gate		 */
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate		/* There should be only one - ours */
49b272bda5Spetede		errno;		/* variable */
502d08521bSGarrett D'Amore		isprint;
512d08521bSGarrett D'Amore		isalnum;
522d08521bSGarrett D'Amore		isalpha;
532d08521bSGarrett D'Amore		isgraph;
542d08521bSGarrett D'Amore		iscntrl;
552d08521bSGarrett D'Amore		isdigit;
562d08521bSGarrett D'Amore		isxdigit;
572d08521bSGarrett D'Amore		isupper;
582d08521bSGarrett D'Amore		islower;
592d08521bSGarrett D'Amore		ispunct;
602d08521bSGarrett D'Amore		isspace;
61*993e3fafSRobert Mustacchi		strlcpy;
627c478bd9Sstevel@tonic-gate
637c478bd9Sstevel@tonic-gate		mdb_tgt_aread;
647c478bd9Sstevel@tonic-gate		mdb_dis_create;
657c478bd9Sstevel@tonic-gate		mdb_dis_destroy;
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate	local:
687c478bd9Sstevel@tonic-gate		*;
697c478bd9Sstevel@tonic-gate};
707c478bd9Sstevel@tonic-gate/* END EPILOGUE */
71