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