xref: /titanic_50/usr/src/lib/libtermcap/common/mapfile-vers (revision 7c1d35456b77b833f089b886b99aa431a24e1377)
1*7c1d3545SGordon Ross#
2*7c1d3545SGordon Ross# This file and its contents are supplied under the terms of the
3*7c1d3545SGordon Ross# Common Development and Distribution License ("CDDL"), version 1.0.
4*7c1d3545SGordon Ross# You may only use this file in accordance with the terms of version
5*7c1d3545SGordon Ross# 1.0 of the CDDL.
6*7c1d3545SGordon Ross#
7*7c1d3545SGordon Ross# A full copy of the text of the CDDL should have accompanied this
8*7c1d3545SGordon Ross# source.  A copy of the CDDL is also available via the Internet at
9*7c1d3545SGordon Ross# http://www.illumos.org/license/CDDL.
10*7c1d3545SGordon Ross#
11*7c1d3545SGordon Ross
12*7c1d3545SGordon Ross#
13*7c1d3545SGordon Ross# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14*7c1d3545SGordon Ross#
15*7c1d3545SGordon Ross
16*7c1d3545SGordon Ross#
17*7c1d3545SGordon Ross# MAPFILE HEADER START
18*7c1d3545SGordon Ross#
19*7c1d3545SGordon Ross# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
20*7c1d3545SGordon Ross# Object versioning must comply with the rules detailed in
21*7c1d3545SGordon Ross#
22*7c1d3545SGordon Ross#	usr/src/lib/README.mapfiles
23*7c1d3545SGordon Ross#
24*7c1d3545SGordon Ross# You should not be making modifications here until you've read the most current
25*7c1d3545SGordon Ross# copy of that file. If you need help, contact a gatekeeper for guidance.
26*7c1d3545SGordon Ross#
27*7c1d3545SGordon Ross# MAPFILE HEADER END
28*7c1d3545SGordon Ross#
29*7c1d3545SGordon Ross
30*7c1d3545SGordon Ross$mapfile_version 2
31*7c1d3545SGordon Ross
32*7c1d3545SGordon Ross#
33*7c1d3545SGordon Ross# This is a mapfile that defines a filter for libcurses so that
34*7c1d3545SGordon Ross# libraries such as libreadline can link with this and NOT force
35*7c1d3545SGordon Ross# the choice of which curses library will be used.  The NODIRECT
36*7c1d3545SGordon Ross# flag lets other libraries earlier in the link order provide the
37*7c1d3545SGordon Ross# symbols below, in which case those will be used by all calls
38*7c1d3545SGordon Ross# to these functions _instead_ of the libcurses ones.  Cool, eh?
39*7c1d3545SGordon Ross#
40*7c1d3545SGordon Ross
41*7c1d3545SGordon RossSYMBOL_VERSION ILLUMOS_0.1 {
42*7c1d3545SGordon Ross    global:
43*7c1d3545SGordon Ross
44*7c1d3545SGordon Ross$if _ELF32
45*7c1d3545SGordon Ross	BC		{ TYPE = COMMON; SIZE = 4; FLAGS = NODIRECT;
46*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
47*7c1d3545SGordon Ross	UP		{ TYPE = COMMON; SIZE = 4; FLAGS = NODIRECT;
48*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
49*7c1d3545SGordon Ross$endif
50*7c1d3545SGordon Ross$if _ELF64
51*7c1d3545SGordon Ross	BC		{ TYPE = COMMON; SIZE = 8; FLAGS = NODIRECT;
52*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
53*7c1d3545SGordon Ross	UP		{ TYPE = COMMON; SIZE = 8; FLAGS = NODIRECT;
54*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
55*7c1d3545SGordon Ross$endif
56*7c1d3545SGordon Ross	PC		{ TYPE = COMMON; SIZE = 1; FLAGS = NODIRECT;
57*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
58*7c1d3545SGordon Ross	ospeed		{ TYPE = COMMON; SIZE = 2; FLAGS = NODIRECT;
59*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
60*7c1d3545SGordon Ross
61*7c1d3545SGordon Ross	tgetent		{ TYPE = FUNCTION; FLAGS = NODIRECT;
62*7c1d3545SGordon Ross			  FILTER = libcurses.so.1; };
63*7c1d3545SGordon Ross	tgetflag	{ TYPE = FUNCTION; FLAGS = NODIRECT;
64*7c1d3545SGordon Ross			  FILTER = libcurses.so.1 };
65*7c1d3545SGordon Ross	tgetnum		{ TYPE = FUNCTION; FLAGS = NODIRECT;
66*7c1d3545SGordon Ross			  FILTER = libcurses.so.1 };
67*7c1d3545SGordon Ross	tgetstr		{ TYPE = FUNCTION; FLAGS = NODIRECT;
68*7c1d3545SGordon Ross			  FILTER = libcurses.so.1 };
69*7c1d3545SGordon Ross	tgoto		{ TYPE = FUNCTION; FLAGS = NODIRECT;
70*7c1d3545SGordon Ross			  FILTER = libcurses.so.1 };
71*7c1d3545SGordon Ross	tputs		{ TYPE = FUNCTION; FLAGS = NODIRECT;
72*7c1d3545SGordon Ross			  FILTER = libcurses.so.1 };
73*7c1d3545SGordon Ross};
74