version 1.7, 2003/06/03 02:56:11 |
version 1.8, 2004/01/03 20:26:36 |
|
|
* |
* |
* Define all of the command names and bindings. |
* Define all of the command names and bindings. |
*/ |
*/ |
|
typedef int (*cfunc_t)(void *); |
const struct cmd cmdtab[] = { |
const struct cmd cmdtab[] = { |
/* msgmask msgflag */ |
/* msgmask msgflag */ |
/* command function argtype result & mask */ |
/* command function argtype result & mask */ |
|
|
{ "unset", { unset }, M|RAWLIST, 1, 1000 }, |
{ "unset", { unset }, M|RAWLIST, 1, 1000 }, |
{ "mail", { sendmail }, R|M|I|STRLIST, 0, 0 }, |
{ "mail", { sendmail }, R|M|I|STRLIST, 0, 0 }, |
{ "mbox", { mboxit }, W|MSGLIST, 0, 0 }, |
{ "mbox", { mboxit }, W|MSGLIST, 0, 0 }, |
{ "pipe", { pipeit }, MSGLIST|STRLIST,0, MMNDEL }, |
{ "pipe", { (cfunc_t)pipeit }, MSGLIST|STRLIST,0, MMNDEL }, |
{ "|", { pipeit }, MSGLIST|STRLIST,0, MMNDEL }, |
{ "|", { (cfunc_t)pipeit }, MSGLIST|STRLIST,0, MMNDEL }, |
{ "more", { more }, MSGLIST, 0, MMNDEL }, |
{ "more", { more }, MSGLIST, 0, MMNDEL }, |
{ "page", { more }, MSGLIST, 0, MMNDEL }, |
{ "page", { more }, MSGLIST, 0, MMNDEL }, |
{ "More", { More }, MSGLIST, 0, MMNDEL }, |
{ "More", { More }, MSGLIST, 0, MMNDEL }, |