xref: /openbsd/usr.bin/ftp/cmds.h (revision bfd817ad)
1 /*	$OpenBSD: cmds.h,v 1.4 2019/05/16 12:44:17 florian Exp $	*/
2 
3 /*
4  * Copyright (c) 2009 Martynas Venckus <martynas@openbsd.org>
5  *
6  * Permission to use, copy, modify, and distribute this software for any
7  * purpose with or without fee is hereby granted, provided that the above
8  * copyright notice and this permission notice appear in all copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 void	setascii(int, char **);
20 void	setftmode(int, char **);
21 void	setform(int, char **);
22 void	setstruct(int, char **);
23 void	reput(int, char **);
24 void	put(int, char **);
25 void	putit(int, char **, int);
26 void	mput(int, char **);
27 void	reget(int, char **);
28 char   *onoff(int);
29 void	status(int, char **);
30 int	togglevar(int, char **, int *, const char *);
31 void	setbell(int, char **);
32 void	setedit(int, char **);
33 void	setepsv4(int, char **);
34 void	settrace(int, char **);
35 void	sethash(int, char **);
36 void	setverbose(int, char **);
37 void	setport(int, char **);
38 void	setprogress(int, char **);
39 void	setprompt(int, char **);
40 void	setgate(int, char **);
41 void	setglob(int, char **);
42 void	setpreserve(int, char **);
43 void	setdebug(int, char **);
44 void	lcd(int, char **);
45 void	deletecmd(int, char **);
46 void	mdelete(int, char **);
47 void	renamefile(int, char **);
48 void	ls(int, char **);
49 void	mls(int, char **);
50 void	shell(int, char **);
51 void	user(int, char **);
52 void	pwd(int, char **);
53 void	lpwd(int, char **);
54 void	makedir(int, char **);
55 void	removedir(int, char **);
56 void	quote(int, char **);
57 void	site(int, char **);
58 void	quote1(const char *, int, char **);
59 void	do_chmod(int, char **);
60 void	do_umask(int, char **);
61 void	idle(int, char **);
62 void	rmthelp(int, char **);
63 void	quit(int, char **);
64 void	account(int, char **);
65 void	proxabort(int);
66 void	doproxy(int, char **);
67 void	setcase(int, char **);
68 void	setcr(int, char **);
69 void	setntrans(int, char **);
70 void	setnmap(int, char **);
71 void	setpassive(int, char **);
72 void	setsunique(int, char **);
73 void	setrunique(int, char **);
74 void	cdup(int, char **);
75 void	restart(int, char **);
76 void	syst(int, char **);
77 void	macdef(int, char **);
78 void	sizecmd(int, char **);
79 void	modtime(int, char **);
80 void	rmtstatus(int, char **);
81 void	newer(int, char **);
82 void	page(int, char **);
83 
84