Home | History | Annotate | Download | only in libshell
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 #
     23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 
     27 #
     28 # MAPFILE HEADER START
     29 #
     30 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
     31 # Object versioning must comply with the rules detailed in
     32 #
     33 #	usr/src/lib/README.mapfiles
     34 #
     35 # You should not be making modifications here until you've read the most current
     36 # copy of that file. If you need help, contact a gatekeeper for guidance.
     37 #
     38 # MAPFILE HEADER END
     39 #
     40 
     41 SUNWprivate_1.1 {
     42     global:
     43 	sh_bltin_tree;
     44 	sh_subfork;
     45 	sh_init;
     46 	sh_reinit;
     47 	sh_eval;
     48 	sh_delay;
     49 	sh_parse;
     50 	sh_tdump;
     51 	sh_trap;
     52 	sh_fun;
     53 	sh_funscope;
     54 	sh_iogetiop;
     55 	sh_main;
     56 	sh_menu;
     57 	sh_addbuiltin;
     58 	sh_fmtq;
     59 	sh_fmtqf;
     60 	sh_strnum;
     61 	sh_access;
     62 	sh_close;
     63 	sh_dup;
     64 	sh_exit;
     65 	sh_fcntl;
     66 	sh_getinterp;
     67 	sh_open;
     68 	sh_pathopen;
     69 	sh_read;
     70 	sh_write;
     71 	sh_seek;
     72 	sh_pipe;
     73 	sh_waitnotify;
     74 	sh_getscope;
     75 	sh_setscope;
     76 	sh_sigcheck;
     77 	sh_isoption;
     78 	sh_onoption;
     79 	sh_offoption;
     80 	sh_waitsafe;
     81 	sh_exec;
     82 	sh_getliblist;
     83 	
     84 	nv_setarray;
     85 	nv_associative;
     86 	nv_aindex;
     87 	nv_nextsub;
     88 	nv_getsub;
     89 	nv_putsub;
     90 	nv_opensub;
     91 	nv_adddisc;
     92 	nv_clone;
     93 	nv_close;
     94 	nv_context;
     95 	nv_create;
     96 	nv_dict;
     97 	nv_getn;
     98 	nv_getnum;
     99 	nv_getv;
    100 	nv_getval;
    101 	nv_hasdisc;
    102 	nv_isnull;
    103 	nv_lastdict;
    104 	nv_newattr;
    105 	nv_open;
    106 	nv_putval;
    107 	nv_putv;
    108 	nv_scan;
    109 	nv_setdisc;
    110 	nv_setref;
    111 	nv_settype;
    112 	nv_setvec;
    113 	nv_setvtree;
    114 	nv_setsize;
    115 	nv_disc;
    116 	nv_unset;
    117 	nv_search;
    118 	nv_name;
    119 	nv_discfun;
    120 
    121 	# semi-private, needed for shcomp
    122 	sh;
    123 	e_dict;
    124 
    125     local:
    126 	*;
    127 };
    128 
    129 # Builtin shell commands
    130 # (see libshell/common/include/builtins.h)
    131 # Note: We have to export all the |b_*()| symbols that the "builtin" command
    132 # can load builtins which are not enabled by the default OS/Net configuration.
    133 SUNWprivate_1.1 {
    134     global:
    135 	B_echo;
    136 	B_login;
    137 	b_alarm;
    138 	b_alias;
    139 	b_bg;
    140 	b_break;
    141 	b_builtin;
    142 	b_cd;
    143 	b_close;
    144 	b_command;
    145 	b_dot_cmd;
    146 	b_dup;
    147 	b_eval;
    148 	b_exec;
    149 	b_false;
    150 	b_getopts;
    151 	b_hist;
    152 	b_jobs;
    153 	b_kill;
    154 	b_let;
    155 	b_open;
    156 	b_poll;
    157 	b_print;
    158 	b_printf;
    159 	b_pwd;
    160 	b_read;
    161 	b_readonly;
    162 	b_return;
    163 	b_rewind;
    164 	b_set;
    165 	b_shift;
    166 	b_sleep;
    167 	b_stat;
    168 	b_test;
    169 	b_tmpfile;
    170 	b_trap;
    171 	b_true;
    172 	b_typeset;
    173 	b_ulimit;
    174 	b_umask;
    175 	b_unalias;
    176 	b_unset;
    177 	b_vpath;
    178 	b_wait;
    179 	b_whence;	
    180     local:
    181 	*;
    182 };
    183