]> git.sur5r.net Git - openldap/blob - clients/rcpt500/rcpt500.h
Fixed slappasswd usage help (ITS#2565)
[openldap] / clients / rcpt500 / rcpt500.h
1 /*
2  * rcpt500.h: includes for rcpt500 (X.500 email query responder)
3  *
4  * 16 June 1992 by Mark C Smith
5  * Copyright (c) 1992 The Regents of The University of Michigan
6  * All Rights Reserved
7  */
8
9 struct msginfo {
10     char        *msg_subject;
11     char        *msg_replyto;   /* actually could be from From: line */
12     char        *msg_date;
13     char        *msg_messageid;
14     int         msg_command;
15     char        *msg_arg;
16 };
17
18 struct command {
19     char        *cmd_text;              /* text for command, e.g. "HELP" */
20     int        (*cmd_handler)();        /* pointer to handler function */
21 };
22
23
24 #define MAXSIZE         8096
25
26
27 /*
28  * functions
29  */
30 int     help_cmd();
31 int     query_cmd();
32
33 /*
34  * externs
35  */
36 extern struct command cmds[];