]> git.sur5r.net Git - openldap/blob - clients/rcpt500/rcpt500.h
clients build under FreeBSD
[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 #include <ldap_cdefs.h>
10
11 LDAP_BEGIN_DECL
12
13 struct msginfo {
14     char        *msg_subject;
15     char        *msg_replyto;   /* actually could be from From: line */
16     char        *msg_date;
17     char        *msg_messageid;
18     int         msg_command;
19     char        *msg_arg;
20 };
21
22 struct command {
23         char    *cmd_text;                                      /* text for command, e.g. "HELP" */
24         int             (*cmd_handler)LDAP_P(());       /* pointer to handler function */
25 };
26
27
28 #define MAXSIZE         8096
29
30
31 /*
32  * functions
33  */
34 int     help_cmd LDAP_P(());
35 int     query_cmd LDAP_P(());
36
37 /*
38  * externs
39  */
40 extern struct command cmds[];
41
42 LDAP_END_DECL