1999-09-09 03:06:24 +08:00
|
|
|
/* $OpenLDAP$ */
|
1998-08-09 08:43:13 +08:00
|
|
|
/*
|
|
|
|
* cmds.c: command table for rcpt500 (X.500 email query responder)
|
|
|
|
*
|
|
|
|
* 18 June 1992 by Mark C Smith
|
|
|
|
* Copyright (c) 1992 The Regents of The University of Michigan
|
|
|
|
* All Rights Reserved
|
|
|
|
*/
|
|
|
|
|
1998-10-25 09:41:42 +08:00
|
|
|
#include "portable.h"
|
|
|
|
|
1999-06-03 08:37:44 +08:00
|
|
|
#include <ac/stdlib.h>
|
1998-08-09 08:43:13 +08:00
|
|
|
#include "rcpt500.h"
|
|
|
|
|
2000-05-10 01:25:59 +08:00
|
|
|
struct command rcpt_cmds[] = {
|
1998-08-09 08:43:13 +08:00
|
|
|
"help", help_cmd, /* help must be the first command */
|
|
|
|
"query for", query_cmd, /* must come before "query for" */
|
|
|
|
"query", query_cmd,
|
|
|
|
"find", query_cmd,
|
|
|
|
"read", query_cmd,
|
|
|
|
"search for", query_cmd, /* must come before "search" */
|
|
|
|
"search", query_cmd,
|
|
|
|
"lookup", query_cmd,
|
|
|
|
"look up", query_cmd,
|
|
|
|
"show", query_cmd,
|
|
|
|
"finger", query_cmd,
|
|
|
|
"whois", query_cmd,
|
|
|
|
"who is", query_cmd,
|
|
|
|
"locate", query_cmd,
|
|
|
|
NULL, NULL /* end of command list */
|
|
|
|
};
|