cmdtab.c (142129) | cmdtab.c (146309) |
---|---|
1/* $NetBSD: cmdtab.c,v 1.43 2004/07/15 08:50:10 lukem Exp $ */ | 1/* $NetBSD: cmdtab.c,v 1.44 2005/04/11 01:49:31 lukem Exp $ */ |
2 3/*- 4 * Copyright (c) 1996-2000 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Luke Mewburn. 9 * --- 55 unchanged lines hidden (view full) --- 65 * SUCH DAMAGE. 66 */ 67 68#include <sys/cdefs.h> 69#ifndef lint 70#if 0 71static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94"; 72#else | 2 3/*- 4 * Copyright (c) 1996-2000 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Luke Mewburn. 9 * --- 55 unchanged lines hidden (view full) --- 65 * SUCH DAMAGE. 66 */ 67 68#include <sys/cdefs.h> 69#ifndef lint 70#if 0 71static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94"; 72#else |
73__RCSID("$NetBSD: cmdtab.c,v 1.43 2004/07/15 08:50:10 lukem Exp $"); | 73__RCSID("$NetBSD: cmdtab.c,v 1.44 2005/04/11 01:49:31 lukem Exp $"); |
74#endif 75#endif /* not lint */ 76 77#include <stdio.h> 78#include "ftp_var.h" 79 80/* 81 * User FTP -- Command Tables. --- 101 unchanged lines hidden (view full) --- 183#define H(x) x 184#endif 185 186#ifdef NO_EDITCOMPLETE 187#define CMPL(x) 188#define CMPL0 189#else /* !NO_EDITCOMPLETE */ 190#define CMPL(x) #x, | 74#endif 75#endif /* not lint */ 76 77#include <stdio.h> 78#include "ftp_var.h" 79 80/* 81 * User FTP -- Command Tables. --- 101 unchanged lines hidden (view full) --- 183#define H(x) x 184#endif 185 186#ifdef NO_EDITCOMPLETE 187#define CMPL(x) 188#define CMPL0 189#else /* !NO_EDITCOMPLETE */ 190#define CMPL(x) #x, |
191#define CMPL0 empty, | 191#define CMPL0 empty, |
192#endif /* !NO_EDITCOMPLETE */ 193 194struct cmd cmdtab[] = { 195 { "!", H(shellhelp), 0, 0, 0, CMPL0 shell }, 196 { "$", H(domachelp), 1, 0, 0, CMPL0 domacro }, 197 { "account", H(accounthelp), 0, 1, 1, CMPL0 account}, 198 { "append", H(appendhelp), 1, 1, 1, CMPL(lr) put }, 199 { "ascii", H(asciihelp), 0, 1, 1, CMPL0 setascii }, --- 110 unchanged lines hidden --- | 192#endif /* !NO_EDITCOMPLETE */ 193 194struct cmd cmdtab[] = { 195 { "!", H(shellhelp), 0, 0, 0, CMPL0 shell }, 196 { "$", H(domachelp), 1, 0, 0, CMPL0 domacro }, 197 { "account", H(accounthelp), 0, 1, 1, CMPL0 account}, 198 { "append", H(appendhelp), 1, 1, 1, CMPL(lr) put }, 199 { "ascii", H(asciihelp), 0, 1, 1, CMPL0 setascii }, --- 110 unchanged lines hidden --- |