Remove __P macros from src/usr.bin and src/usr.sbin.
[dragonfly.git] / usr.bin / ftp / extern.h
CommitLineData
984263bc 1/* $FreeBSD: src/usr.bin/ftp/extern.h,v 1.10.2.3 2002/08/27 09:55:08 yar Exp $ */
2d8a3be7 2/* $DragonFly: src/usr.bin/ftp/Attic/extern.h,v 1.3 2003/11/03 19:31:29 eirikn Exp $ */
984263bc
MD
3/* $NetBSD: extern.h,v 1.17.2.1 1997/11/18 00:59:50 mellon Exp $ */
4
5/*-
6 * Copyright (c) 1994 The Regents of the University of California.
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:
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.
24 *
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
35 * SUCH DAMAGE.
36 *
37 * @(#)extern.h 8.3 (Berkeley) 10/9/94
38 */
39
2d8a3be7
EN
40void abort_remote(FILE *);
41void abortpt(int);
42void abortrecv(int);
43void abortsend(int);
44void account(int, char **);
45void ai_unmapped(struct addrinfo *);
46void alarmtimer(int);
47int another(int *, char ***, const char *);
48int auto_fetch(int, char **);
49void blkfree(char **);
50void cd(int, char **);
51void cdup(int, char **);
52void changetype(int, int);
53void cmdabort(int);
54void cmdscanner(int);
55int command(const char *, ...);
984263bc 56#ifndef SMALL
2d8a3be7
EN
57unsigned char complete(EditLine *, int);
58void controlediting(void);
984263bc 59#endif /* !SMALL */
2d8a3be7
EN
60int confirm(const char *, const char *);
61FILE *dataconn(const char *);
62void delete(int, char **);
63void disconnect(int, char **);
64void do_chmod(int, char **);
65void do_umask(int, char **);
66void domacro(int, char **);
67char *domap(char *);
68void doproxy(int, char **);
69char *dotrans(char *);
70int empty(fd_set *, int);
71void get(int, char **);
72struct cmd *getcmd(const char *);
73int getit(int, char **, int, const char *);
74int getreply(int);
75int globulize(char **);
76char *gunique(const char *);
77void help(int, char **);
78char *hookup(const char *, char *);
79void idle(int, char **);
80int initconn(void);
81void intr(void);
82int isipv6addr(const char *);
83void list_vertical(StringList *);
84void lcd(int, char **);
85int login(const char *, char *, char *);
86void lostpeer(void);
87void lpwd(int, char **);
88void ls(int, char **);
89void mabort(int);
90void macdef(int, char **);
91void makeargv(void);
92void makedir(int, char **);
93void mdelete(int, char **);
94void mget(int, char **);
95void mls(int, char **);
96void modtime(int, char **);
97void mput(int, char **);
98char *onoff(int);
99void newer(int, char **);
100void page(int, char **);
101void progressmeter(int);
102char *prompt(void);
103void proxabort(int);
104void proxtrans(const char *, const char *, const char *);
105void psabort(int);
106void psummary(int);
107void pswitch(int);
108void ptransfer(int);
109void put(int, char **);
110void pwd(int, char **);
111void quit(int, char **);
112void quote(int, char **);
113void quote1(const char *, int, char **);
984263bc
MD
114void recvrequest __P((const char *, const char *, const char *,
115 const char *, int, int));
2d8a3be7
EN
116void reget(int, char **);
117char *remglob(char **, int, char **);
118off_t remotesize(const char *, int);
119time_t remotemodtime(const char *, int);
120void removedir(int, char **);
121void renamefile(int, char **);
122void reset(int, char **);
123void restart(int, char **);
124void rmthelp(int, char **);
125void rmtstatus(int, char **);
126int ruserpass(const char *, char **, char **, char **);
127void sendrequest(const char *, const char *, const char *, int);
128void setascii(int, char **);
129void setbell(int, char **);
130void setbinary(int, char **);
131void setcase(int, char **);
132void setcr(int, char **);
133void setdebug(int, char **);
134void setedit(int, char **);
135void setepsv4(int, char **);
136void setform(int, char **);
137void setftmode(int, char **);
138void setgate(int, char **);
139void setglob(int, char **);
140void sethash(int, char **);
141void setnmap(int, char **);
142void setntrans(int, char **);
143void setpassive(int, char **);
144void setpeer(int, char **);
145void setport(int, char **);
146void setpreserve(int, char **);
147void setprogress(int, char **);
148void setprompt(int, char **);
149void setrestrict(int, char **);
150void setrunique(int, char **);
151void setstruct(int, char **);
152void setsunique(int, char **);
153void settenex(int, char **);
154void settrace(int, char **);
155void setttywidth(int);
156void settype(int, char **);
157void setverbose(int, char **);
158void shell(int, char **);
159void site(int, char **);
160void sizecmd(int, char **);
161char *slurpstring(void);
162void status(int, char **);
163void syst(int, char **);
164int togglevar(int, char **, int *, const char *);
165void usage(void);
166void user(int, char **);
984263bc
MD
167
168extern struct cmd cmdtab[];
169extern FILE *cout;
170extern int data;
171extern char *home;
172extern int family;
173extern int proxy;
174extern char reply_string[];
175extern int NCMDS;
176
177extern char *__progname; /* from crt0.o */
178