extern.h revision 1.1
11.1Scgd/*-
21.1Scgd * Copyright (c) 1994 The Regents of the University of California.
31.1Scgd * All rights reserved.
41.1Scgd *
51.1Scgd * Redistribution and use in source and binary forms, with or without
61.1Scgd * modification, are permitted provided that the following conditions
71.1Scgd * are met:
81.1Scgd * 1. Redistributions of source code must retain the above copyright
91.1Scgd *    notice, this list of conditions and the following disclaimer.
101.1Scgd * 2. Redistributions in binary form must reproduce the above copyright
111.1Scgd *    notice, this list of conditions and the following disclaimer in the
121.1Scgd *    documentation and/or other materials provided with the distribution.
131.1Scgd * 3. All advertising materials mentioning features or use of this software
141.1Scgd *    must display the following acknowledgement:
151.1Scgd *	This product includes software developed by the University of
161.1Scgd *	California, Berkeley and its contributors.
171.1Scgd * 4. Neither the name of the University nor the names of its contributors
181.1Scgd *    may be used to endorse or promote products derived from this software
191.1Scgd *    without specific prior written permission.
201.1Scgd *
211.1Scgd * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221.1Scgd * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231.1Scgd * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241.1Scgd * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251.1Scgd * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261.1Scgd * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271.1Scgd * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281.1Scgd * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291.1Scgd * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301.1Scgd * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311.1Scgd * SUCH DAMAGE.
321.1Scgd *
331.1Scgd *	@(#)extern.h	8.2 (Berkeley) 4/3/94
341.1Scgd */
351.1Scgd
361.1Scgdstruct timeval;
371.1Scgdstruct fd_set;
381.1Scgd
391.1Scgdvoid    abort_remote __P((FILE *));
401.1Scgdvoid    abortpt __P(());
411.1Scgdvoid    abortrecv __P(());
421.1Scgdvoid    abortsend __P(());
431.1Scgdvoid	account __P((int, char **));
441.1Scgdint	another __P((int *, char ***, char *));
451.1Scgdvoid	blkfree __P((char **));
461.1Scgdvoid	cd __P((int, char **));
471.1Scgdvoid	cdup __P((int, char **));
481.1Scgdvoid	changetype __P((int, int));
491.1Scgdvoid	cmdabort __P(());
501.1Scgdvoid	cmdscanner __P((int));
511.1Scgdint	command __P(());
521.1Scgdint	confirm __P((char *, char *));
531.1ScgdFILE   *dataconn __P((char *));
541.1Scgdvoid	delete __P((int, char **));
551.1Scgdvoid	disconnect __P((int, char **));
561.1Scgdvoid	do_chmod __P((int, char **));
571.1Scgdvoid	do_umask __P((int, char **));
581.1Scgdvoid	domacro __P((int, char **));
591.1Scgdchar   *domap __P((char *));
601.1Scgdvoid	doproxy __P((int, char **));
611.1Scgdchar   *dotrans __P((char *));
621.1Scgdint     empty __P((struct fd_set *, int));
631.1Scgdvoid	fatal __P((char *));
641.1Scgdvoid	get __P((int, char **));
651.1Scgdstruct cmd *getcmd __P((char *));
661.1Scgdint	getit __P((int, char **, int, char *));
671.1Scgdint	getreply __P((int));
681.1Scgdint	globulize __P((char **));
691.1Scgdchar   *gunique __P((char *));
701.1Scgdvoid	help __P((int, char **));
711.1Scgdchar   *hookup __P((char *, int));
721.1Scgdvoid	idle __P((int, char **));
731.1Scgdint     initconn __P((void));
741.1Scgdvoid	intr __P(());
751.1Scgdvoid	lcd __P((int, char **));
761.1Scgdint	login __P((char *));
771.1Scgdvoid	lostpeer __P(());
781.1Scgdvoid	ls __P((int, char **));
791.1Scgdvoid	mabort __P((int));
801.1Scgdvoid	macdef __P((int, char **));
811.1Scgdvoid	makeargv __P((void));
821.1Scgdvoid	makedir __P((int, char **));
831.1Scgdvoid	mdelete __P((int, char **));
841.1Scgdvoid	mget __P((int, char **));
851.1Scgdvoid	mls __P((int, char **));
861.1Scgdvoid	modtime __P((int, char **));
871.1Scgdvoid	mput __P((int, char **));
881.1Scgdchar   *onoff __P((int));
891.1Scgdvoid	newer __P((int, char **));
901.1Scgdvoid	proxabort __P(());
911.1Scgdvoid    proxtrans __P((char *, char *, char *));
921.1Scgdvoid    psabort __P(());
931.1Scgdvoid    pswitch __P((int));
941.1Scgdvoid    ptransfer __P((char *, long, struct timeval *, struct timeval *));
951.1Scgdvoid	put __P((int, char **));
961.1Scgdvoid	pwd __P((int, char **));
971.1Scgdvoid	quit __P((int, char **));
981.1Scgdvoid	quote __P((int, char **));
991.1Scgdvoid	quote1 __P((char *, int, char **));
1001.1Scgdvoid    recvrequest __P((char *, char *, char *, char *, int));
1011.1Scgdvoid	reget __P((int, char **));
1021.1Scgdchar   *remglob __P((char **, int));
1031.1Scgdvoid	removedir __P((int, char **));
1041.1Scgdvoid	renamefile __P((int, char **));
1051.1Scgdvoid    reset __P((int, char **));
1061.1Scgdvoid	restart __P((int, char **));
1071.1Scgdvoid	rmthelp __P((int, char **));
1081.1Scgdvoid	rmtstatus __P((int, char **));
1091.1Scgdint	ruserpass __P((char *, char **, char **, char **));
1101.1Scgdvoid    sendrequest __P((char *, char *, char *, int));
1111.1Scgdvoid	setascii __P((int, char **));
1121.1Scgdvoid	setbell __P((int, char **));
1131.1Scgdvoid	setbinary __P((int, char **));
1141.1Scgdvoid	setcase __P((int, char **));
1151.1Scgdvoid	setcr __P((int, char **));
1161.1Scgdvoid	setdebug __P((int, char **));
1171.1Scgdvoid	setform __P((int, char **));
1181.1Scgdvoid	setftmode __P((int, char **));
1191.1Scgdvoid	setglob __P((int, char **));
1201.1Scgdvoid	sethash __P((int, char **));
1211.1Scgdvoid	setnmap __P((int, char **));
1221.1Scgdvoid	setntrans __P((int, char **));
1231.1Scgdvoid	setpeer __P((int, char **));
1241.1Scgdvoid	setport __P((int, char **));
1251.1Scgdvoid	setprompt __P((int, char **));
1261.1Scgdvoid	setrunique __P((int, char **));
1271.1Scgdvoid	setstruct __P((int, char **));
1281.1Scgdvoid	setsunique __P((int, char **));
1291.1Scgdvoid	settenex __P((int, char **));
1301.1Scgdvoid	settrace __P((int, char **));
1311.1Scgdvoid	settype __P((int, char **));
1321.1Scgdvoid	setverbose __P((int, char **));
1331.1Scgdvoid	shell __P((int, char **));
1341.1Scgdvoid	site __P((int, char **));
1351.1Scgdvoid	sizecmd __P((int, char **));
1361.1Scgdchar   *slurpstring __P((void));
1371.1Scgdvoid	status __P((int, char **));
1381.1Scgdvoid	syst __P((int, char **));
1391.1Scgdvoid    tvsub __P((struct timeval *, struct timeval *, struct timeval *));
1401.1Scgdvoid	user __P((int, char **));
1411.1Scgd
1421.1Scgdextern jmp_buf	abortprox;
1431.1Scgdextern int	abrtflag;
1441.1Scgdextern struct	cmd cmdtab[];
1451.1Scgdextern FILE	*cout;
1461.1Scgdextern int	data;
1471.1Scgdextern char    *home;
1481.1Scgdextern jmp_buf	jabort;
1491.1Scgdextern int	proxy;
1501.1Scgdextern char	reply_string[];
1511.1Scgdextern off_t	restart_point;
1521.1Scgdextern int	NCMDS;
153