cmds.c 744 Bytes
Newer Older
Kurt Zeilenga's avatar
Kurt Zeilenga committed
1
2
3
4
5
6
7
8
/*
 * 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
 */

Kurt Zeilenga's avatar
Kurt Zeilenga committed
9
10
11
#include "portable.h"

#include <stdlib.h>
Kurt Zeilenga's avatar
Kurt Zeilenga committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "rcpt500.h"

struct command cmds[] = {
	"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 */
};