xref: /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/mapfile-pppoe (revision f5c2e7ea56aaa46a9976476fb0cb1f02b9426f07)
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 (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
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.
36#
37# MAPFILE HEADER END
38#
39
40# External declarations - used to suppress -zdefs errors.
41
42$mapfile_version 2
43
44SYMBOL_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 };	#    "     "
84};
85