cmd-inet: link pppd plugins passprompt,pppoe with -lc
[unleashed.git] / usr / src / cmd / cmd-inet / usr.bin / pppd / plugins / mapfile-pppoe
blob4a8abf3d301b631c8e84efc78c96043cda4f2b48
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
27 # MAPFILE HEADER START
29 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30 # Object versioning must comply with the rules detailed in
32 #       usr/src/lib/README.mapfiles
34 # You should not be making modifications here until you've read the most current
35 # copy of that file. If you need help, contact a gatekeeper for guidance.
37 # MAPFILE HEADER END
40 # External declarations - used to suppress -zdefs errors.
42 $mapfile_version 2
44 SYMBOL_SCOPE {
45         script_setenv   { TYPE = FUNCTION; FLAGS = extern };    # From pppd
46         script_getenv   { TYPE = FUNCTION; FLAGS = extern };    #    "     "
47         slprintf        { TYPE = FUNCTION; FLAGS = extern };    #    "     "
48         option_error    { TYPE = FUNCTION; FLAGS = extern };    #    "     "
49         warn            { TYPE = FUNCTION; FLAGS = extern };    #    "     "
50         fatal           { TYPE = FUNCTION; FLAGS = extern };    #    "     "
51         dbglog          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
52         absmax_mtu      { TYPE = DATA; FLAGS = extern };        #    "     "
53         absmax_mru      { TYPE = DATA; FLAGS = extern };        #    "     "
54         updown_script_hook { TYPE = DATA; FLAGS = extern };     #    "     "
55         devnam_info     { TYPE = DATA; FLAGS = extern };        #    "     "
56         check_options_hook { TYPE = DATA; FLAGS = extern };     #    "     "
57         device_pipe_hook { TYPE = DATA; FLAGS = extern };       #    "     "
58         already_ppp     { TYPE = DATA; FLAGS = extern };        #    "     "
59         devnam          { TYPE = DATA; FLAGS = extern };        #    "     "
60         sys_read_packet_hook { TYPE = DATA; FLAGS = extern };   #    "     "
61         ifname          { TYPE = DATA; FLAGS = extern };        #    "     "
62         fclose          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
63         ioctl           { TYPE = FUNCTION; FLAGS = extern };    #    "     "
64         fdopen          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
65         close           { TYPE = FUNCTION; FLAGS = extern };    #    "     "
66         open            { TYPE = FUNCTION; FLAGS = extern };    #    "     "
67         strcmp          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
68         fgets           { TYPE = FUNCTION; FLAGS = extern };    #    "     "
69         strlen          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
70         seteuid         { TYPE = FUNCTION; FLAGS = extern };    #    "     "
71         ether_ntoa      { TYPE = FUNCTION; FLAGS = extern };    #    "     "
72         ___errno        { TYPE = FUNCTION; FLAGS = extern };    #    "     "
73         strdup          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
74         run_program     { TYPE = FUNCTION; FLAGS = extern };    #    "     "
75         malloc          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
76         strrchr         { TYPE = FUNCTION; FLAGS = extern };    #    "     "
77         strchr          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
78         error           { TYPE = FUNCTION; FLAGS = extern };    #    "     "
79         free            { TYPE = FUNCTION; FLAGS = extern };    #    "     "
80         strcpy          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
81         memcpy          { TYPE = FUNCTION; FLAGS = extern };    #    "     "
82         script_unsetenv { TYPE = FUNCTION; FLAGS = extern };    #    "     "
83         ntohs           { TYPE = FUNCTION; FLAGS = extern };    #    "     "