extern.h revision 1.20
1/* $NetBSD: extern.h,v 1.20 1998/06/04 08:28:35 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 fd_set; 39 40void abort_remote __P((FILE *)); 41void abortpt __P((int)); 42void abortrecv __P((int)); 43void abortsend __P((int)); 44void account __P((int, char **)); 45void alarmtimer __P((int)); 46int another __P((int *, char ***, const char *)); 47int auto_fetch __P((int, char **, char *)); 48void blkfree __P((char **)); 49void cd __P((int, char **)); 50void cdup __P((int, char **)); 51void changetype __P((int, int)); 52void cmdabort __P((int)); 53void cmdscanner __P((int)); 54int command __P((const char *, ...)); 55#ifndef SMALL 56unsigned char complete __P((EditLine *, int)); 57void controlediting __P((void)); 58#endif /* !SMALL */ 59int confirm __P((const char *, const char *)); 60FILE *dataconn __P((const char *)); 61void delete __P((int, char **)); 62void disconnect __P((int, char **)); 63void do_chmod __P((int, char **)); 64void do_umask __P((int, char **)); 65void domacro __P((int, char **)); 66char *domap __P((char *)); 67void doproxy __P((int, char **)); 68char *dotrans __P((char *)); 69int empty __P((struct fd_set *, int)); 70int foregroundproc __P((void)); 71void get __P((int, char **)); 72struct cmd *getcmd __P((const char *)); 73int getit __P((int, char **, int, const char *)); 74int getreply __P((int)); 75int globulize __P((char **)); 76char *gunique __P((const char *)); 77void help __P((int, char **)); 78char *hookup __P((const char *, in_port_t)); 79void idle __P((int, char **)); 80int initconn __P((void)); 81void intr __P((void)); 82void list_vertical __P((StringList *)); 83void lcd __P((int, char **)); 84int login __P((const char *, char *, char *)); 85void lostpeer __P((void)); 86void lpwd __P((int, char **)); 87void ls __P((int, char **)); 88void mabort __P((int)); 89void macdef __P((int, char **)); 90void makeargv __P((void)); 91void makedir __P((int, char **)); 92void mdelete __P((int, char **)); 93void mget __P((int, char **)); 94void mls __P((int, char **)); 95void modtime __P((int, char **)); 96void mput __P((int, char **)); 97char *onoff __P((int)); 98void newer __P((int, char **)); 99void page __P((int, char **)); 100void progressmeter __P((int)); 101char *prompt __P((void)); 102void proxabort __P((int)); 103void proxtrans __P((const char *, const char *, const char *)); 104void psabort __P((int)); 105void psummary __P((int)); 106void pswitch __P((int)); 107void ptransfer __P((int)); 108void put __P((int, char **)); 109void pwd __P((int, char **)); 110void quit __P((int, char **)); 111void quote __P((int, char **)); 112void quote1 __P((const char *, int, char **)); 113void recvrequest __P((const char *, const char *, const char *, 114 const char *, int, int)); 115void reget __P((int, char **)); 116char *remglob __P((char **, int, char **)); 117off_t remotesize __P((const char *, int)); 118time_t remotemodtime __P((const char *, int)); 119void removedir __P((int, char **)); 120void renamefile __P((int, char **)); 121void reset __P((int, char **)); 122void restart __P((int, char **)); 123void rmthelp __P((int, char **)); 124void rmtstatus __P((int, char **)); 125int ruserpass __P((const char *, char **, char **, char **)); 126void sendrequest __P((const char *, const char *, const char *, int)); 127void setascii __P((int, char **)); 128void setbell __P((int, char **)); 129void setbinary __P((int, char **)); 130void setcase __P((int, char **)); 131void setcr __P((int, char **)); 132void setdebug __P((int, char **)); 133void setedit __P((int, char **)); 134void setform __P((int, char **)); 135void setftmode __P((int, char **)); 136void setgate __P((int, char **)); 137void setglob __P((int, char **)); 138void sethash __P((int, char **)); 139void setnmap __P((int, char **)); 140void setntrans __P((int, char **)); 141void setpassive __P((int, char **)); 142void setpeer __P((int, char **)); 143void setport __P((int, char **)); 144void setpreserve __P((int, char **)); 145void setprogress __P((int, char **)); 146void setprompt __P((int, char **)); 147void setrunique __P((int, char **)); 148void setstruct __P((int, char **)); 149void setsunique __P((int, char **)); 150void settenex __P((int, char **)); 151void settrace __P((int, char **)); 152void setttywidth __P((int)); 153void settype __P((int, char **)); 154void setverbose __P((int, char **)); 155void shell __P((int, char **)); 156void site __P((int, char **)); 157void sizecmd __P((int, char **)); 158char *slurpstring __P((void)); 159void status __P((int, char **)); 160void syst __P((int, char **)); 161int togglevar __P((int, char **, int *, const char *)); 162void usage __P((void)); 163void user __P((int, char **)); 164 165extern struct cmd cmdtab[]; 166extern FILE *cout; 167extern int data; 168extern char *home; 169extern int proxy; 170extern char reply_string[]; 171extern int NCMDS; 172 173extern char *__progname; /* from crt0.o */ 174 175