openldap/clients/rcpt500/rcpt500.h

43 lines
734 B
C
Raw Normal View History

1998-08-08 20:43:13 -04:00
/*
* rcpt500.h: includes for rcpt500 (X.500 email query responder)
*
* 16 June 1992 by Mark C Smith
* Copyright (c) 1992 The Regents of The University of Michigan
* All Rights Reserved
*/
1998-10-24 21:41:42 -04:00
#include <ldap_cdefs.h>
LDAP_BEGIN_DECL
1998-08-08 20:43:13 -04:00
struct msginfo {
char *msg_subject;
char *msg_replyto; /* actually could be from From: line */
char *msg_date;
char *msg_messageid;
int msg_command;
char *msg_arg;
};
struct command {
1998-10-24 21:41:42 -04:00
char *cmd_text; /* text for command, e.g. "HELP" */
int (*cmd_handler)LDAP_P(()); /* pointer to handler function */
1998-08-08 20:43:13 -04:00
};
#define MAXSIZE 8096
/*
* functions
*/
1998-10-24 21:41:42 -04:00
int help_cmd LDAP_P(());
int query_cmd LDAP_P(());
1998-08-08 20:43:13 -04:00
/*
* externs
*/
extern struct command cmds[];
1998-10-24 21:41:42 -04:00
LDAP_END_DECL