xref: /titanic_52/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/mapfile-pppoe (revision 03494a9880d80f834bec10a1e8f0a2f8f7c97bf4)
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 2001 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27# External declarations - used to suppress -zdefs errors.
28
29{
30	script_setenv	= FUNCTION extern;	# Provided by pppd.
31	script_getenv	= FUNCTION extern;	#    "     "
32	slprintf	= FUNCTION extern;	#    "     "
33	option_error	= FUNCTION extern;	#    "     "
34	warn		= FUNCTION extern;	#    "     "
35	fatal		= FUNCTION extern;	#    "     "
36	dbglog		= FUNCTION extern;	#    "     "
37	absmax_mtu	= DATA extern;		#    "     "
38	absmax_mru	= DATA extern;		#    "     "
39	updown_script_hook = DATA extern;	#    "     "
40	devnam_info	= DATA extern;		#    "     "
41	check_options_hook = DATA extern;	#    "     "
42	device_pipe_hook = DATA extern;		#    "     "
43	already_ppp	= DATA extern;		#    "     "
44	devnam		= DATA extern;		#    "     "
45	sys_read_packet_hook = DATA extern;	#    "     "
46	ifname		= DATA extern;		#    "     "
47	fclose		= FUNCTION extern;	#    "     "
48	ioctl		= FUNCTION extern;	#    "     "
49	fdopen		= FUNCTION extern;	#    "     "
50	close		= FUNCTION extern;	#    "     "
51	open		= FUNCTION extern;	#    "     "
52	strcmp		= FUNCTION extern;	#    "     "
53	fgets		= FUNCTION extern;	#    "     "
54	strlen		= FUNCTION extern;	#    "     "
55	seteuid		= FUNCTION extern;	#    "     "
56	ether_ntoa	= FUNCTION extern;	#    "     "
57	___errno	= FUNCTION extern;	#    "     "
58	strdup		= FUNCTION extern;	#    "     "
59	run_program	= FUNCTION extern;	#    "     "
60	malloc		= FUNCTION extern;	#    "     "
61	strrchr		= FUNCTION extern;	#    "     "
62	strchr		= FUNCTION extern;	#    "     "
63	error		= FUNCTION extern;	#    "     "
64	free		= FUNCTION extern;	#    "     "
65	strcpy		= FUNCTION extern;	#    "     "
66	memcpy		= FUNCTION extern;	#    "     "
67	script_unsetenv	= FUNCTION extern;	#    "     "
68	ntohs		= FUNCTION extern;	#    "     "
69};
70