xref: /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/mapfile-pppoe (revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a)
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# External declarations - used to suppress -zdefs errors.
42
43{
44	script_setenv	= FUNCTION extern;	# Provided by pppd.
45	script_getenv	= FUNCTION extern;	#    "     "
46	slprintf	= FUNCTION extern;	#    "     "
47	option_error	= FUNCTION extern;	#    "     "
48	warn		= FUNCTION extern;	#    "     "
49	fatal		= FUNCTION extern;	#    "     "
50	dbglog		= FUNCTION extern;	#    "     "
51	absmax_mtu	= DATA extern;		#    "     "
52	absmax_mru	= DATA extern;		#    "     "
53	updown_script_hook = DATA extern;	#    "     "
54	devnam_info	= DATA extern;		#    "     "
55	check_options_hook = DATA extern;	#    "     "
56	device_pipe_hook = DATA extern;		#    "     "
57	already_ppp	= DATA extern;		#    "     "
58	devnam		= DATA extern;		#    "     "
59	sys_read_packet_hook = DATA extern;	#    "     "
60	ifname		= DATA extern;		#    "     "
61	fclose		= FUNCTION extern;	#    "     "
62	ioctl		= FUNCTION extern;	#    "     "
63	fdopen		= FUNCTION extern;	#    "     "
64	close		= FUNCTION extern;	#    "     "
65	open		= FUNCTION extern;	#    "     "
66	strcmp		= FUNCTION extern;	#    "     "
67	fgets		= FUNCTION extern;	#    "     "
68	strlen		= FUNCTION extern;	#    "     "
69	seteuid		= FUNCTION extern;	#    "     "
70	ether_ntoa	= FUNCTION extern;	#    "     "
71	___errno	= FUNCTION extern;	#    "     "
72	strdup		= FUNCTION extern;	#    "     "
73	run_program	= FUNCTION extern;	#    "     "
74	malloc		= FUNCTION extern;	#    "     "
75	strrchr		= FUNCTION extern;	#    "     "
76	strchr		= FUNCTION extern;	#    "     "
77	error		= FUNCTION extern;	#    "     "
78	free		= FUNCTION extern;	#    "     "
79	strcpy		= FUNCTION extern;	#    "     "
80	memcpy		= FUNCTION extern;	#    "     "
81	script_unsetenv	= FUNCTION extern;	#    "     "
82	ntohs		= FUNCTION extern;	#    "     "
83};
84