1 /* $OpenBSD: cmds.h,v 1.1 2009/05/05 19:35:30 martynas 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 settenex(int, char **); 21 void setftmode(int, char **); 22 void setform(int, char **); 23 void setstruct(int, char **); 24 void reput(int, char **); 25 void put(int, char **); 26 void putit(int, char **, int); 27 void mput(int, char **); 28 void reget(int, char **); 29 char *onoff(int); 30 void status(int, char **); 31 int togglevar(int, char **, int *, const char *); 32 void setbell(int, char **); 33 void setedit(int, char **); 34 void setepsv4(int, char **); 35 void settrace(int, char **); 36 void sethash(int, char **); 37 void setverbose(int, char **); 38 void setport(int, char **); 39 void setprogress(int, char **); 40 void setprompt(int, char **); 41 void setgate(int, char **); 42 void setglob(int, char **); 43 void setpreserve(int, char **); 44 void setdebug(int, char **); 45 void lcd(int, char **); 46 void deletecmd(int, char **); 47 void mdelete(int, char **); 48 void renamefile(int, char **); 49 void ls(int, char **); 50 void mls(int, char **); 51 void shell(int, char **); 52 void user(int, char **); 53 void pwd(int, char **); 54 void lpwd(int, char **); 55 void makedir(int, char **); 56 void removedir(int, char **); 57 void quote(int, char **); 58 void site(int, char **); 59 void quote1(const char *, int, char **); 60 void do_chmod(int, char **); 61 void do_umask(int, char **); 62 void idle(int, char **); 63 void rmthelp(int, char **); 64 void quit(int, char **); 65 void account(int, char **); 66 void proxabort(int); 67 void doproxy(int, char **); 68 void setcase(int, char **); 69 void setcr(int, char **); 70 void setntrans(int, char **); 71 void setnmap(int, char **); 72 void setpassive(int, char **); 73 void setsunique(int, char **); 74 void setrunique(int, char **); 75 void cdup(int, char **); 76 void restart(int, char **); 77 void syst(int, char **); 78 void macdef(int, char **); 79 void sizecmd(int, char **); 80 void modtime(int, char **); 81 void rmtstatus(int, char **); 82 void newer(int, char **); 83 void page(int, char **); 84 85