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