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