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