extern.h revision 1.10
1/* $NetBSD: extern.h,v 1.10 1997/01/19 14:19:09 lukem Exp $ */ 2 3/*- 4 * Copyright (c) 1994 The Regents of the University of California. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright 11 * notice, this list of conditions and the following disclaimer. 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 15 * 3. All advertising materials mentioning features or use of this software 16 * must display the following acknowledgement: 17 * This product includes software developed by the University of 18 * California, Berkeley and its contributors. 19 * 4. Neither the name of the University nor the names of its contributors 20 * may be used to endorse or promote products derived from this software 21 * without specific prior written permission. 22 * 23 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * 35 * @(#)extern.h 8.3 (Berkeley) 10/9/94 36 */ 37 38struct timeval; 39struct fd_set; 40 41void abort_remote __P((FILE *)); 42void abortpt __P(()); 43void abortrecv __P(()); 44void abortsend __P(()); 45void account __P((int, char **)); 46int another __P((int *, char ***, const char *)); 47int auto_fetch __P((int, char **)); 48void blkfree __P((char **)); 49void cd __P((int, char **)); 50void cdup __P((int, char **)); 51void changetype __P((int, int)); 52void cmdabort __P(()); 53void cmdscanner __P((int)); 54int command __P(()); 55#ifndef SMALLFTP 56unsigned char complete __P((EditLine *, int)); 57#endif /* !SMALLFTP */ 58int confirm __P((const char *, const char *)); 59FILE *dataconn __P((const char *)); 60void delete __P((int, char **)); 61void disconnect __P((int, char **)); 62void do_chmod __P((int, char **)); 63void do_umask __P((int, char **)); 64void domacro __P((int, char **)); 65char *domap __P((char *)); 66void doproxy __P((int, char **)); 67char *dotrans __P((char *)); 68int empty __P((struct fd_set *, int)); 69void get __P((int, char **)); 70struct cmd *getcmd __P((const char *)); 71int getit __P((int, char **, int, const char *)); 72int getreply __P((int)); 73int globulize __P((char **)); 74char *gunique __P((const char *)); 75void help __P((int, char **)); 76char *hookup __P((const char *, int)); 77void idle __P((int, char **)); 78int initconn __P((void)); 79void intr __P(()); 80void list_vertical __P((StringList *)); 81void lcd __P((int, char **)); 82int login __P((const char *)); 83void lostpeer __P(()); 84void lpwd __P((int, char **)); 85void ls __P((int, char **)); 86void mabort __P((int)); 87void macdef __P((int, char **)); 88void makeargv __P(()); 89void makedir __P((int, char **)); 90void mdelete __P((int, char **)); 91void mget __P((int, char **)); 92void mls __P((int, char **)); 93void modtime __P((int, char **)); 94void mput __P((int, char **)); 95char *onoff __P((int)); 96void newer __P((int, char **)); 97void progressmeter __P((int)); 98char *prompt __P(()); 99void proxabort __P(()); 100void proxtrans __P((const char *, const char *, const char *)); 101void psabort __P(()); 102void psummary __P((int)); 103void pswitch __P((int)); 104void ptransfer __P((int)); 105void put __P((int, char **)); 106void pwd __P((int, char **)); 107void quit __P((int, char **)); 108void quote __P((int, char **)); 109void quote1 __P((const char *, int, char **)); 110void recvrequest __P((const char *, const char *, const char *, 111 const char *, int)); 112void reget __P((int, char **)); 113char *remglob __P((char **, int)); 114off_t remotesize __P((const char *, int)); 115time_t remotemodtime __P((const char *, int)); 116void removedir __P((int, char **)); 117void renamefile __P((int, char **)); 118void reset __P((int, char **)); 119void restart __P((int, char **)); 120void rmthelp __P((int, char **)); 121void rmtstatus __P((int, char **)); 122int ruserpass __P((const char *, char **, char **, char **)); 123void sendrequest __P((const char *, const char *, const char *, int)); 124void setascii __P((int, char **)); 125void setbell __P((int, char **)); 126void setbinary __P((int, char **)); 127void setcase __P((int, char **)); 128void setcr __P((int, char **)); 129void setdebug __P((int, char **)); 130void setedit __P((int, char **)); 131void setform __P((int, char **)); 132void setftmode __P((int, char **)); 133void setglob __P((int, char **)); 134void sethash __P((int, char **)); 135void setnmap __P((int, char **)); 136void setntrans __P((int, char **)); 137void setpassive __P((int, char **)); 138void setpeer __P((int, char **)); 139void setport __P((int, char **)); 140void setpreserve __P((int, char **)); 141void setprogress __P((int, char **)); 142void setprompt __P((int, char **)); 143void setrunique __P((int, char **)); 144void setstruct __P((int, char **)); 145void setsunique __P((int, char **)); 146void settenex __P((int, char **)); 147void settrace __P((int, char **)); 148void settype __P((int, char **)); 149void setverbose __P((int, char **)); 150void shell __P((int, char **)); 151void site __P((int, char **)); 152void sizecmd __P((int, char **)); 153char *slurpstring __P(()); 154void status __P((int, char **)); 155void syst __P((int, char **)); 156int togglevar __P((int, char **, int *, const char *)); 157void usage __P(()); 158void user __P((int, char **)); 159 160 161extern jmp_buf abortprox; 162extern int abrtflag; 163extern struct cmd cmdtab[]; 164extern FILE *cout; 165extern int data; 166extern char *home; 167extern jmp_buf jabort; 168extern int proxy; 169extern char reply_string[]; 170extern off_t restart_point; 171extern int NCMDS; 172 173extern char *__progname; /* from crt0.o */ 174 175