mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
43 lines
734 B
C
43 lines
734 B
C
/*
|
|
* 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
|
|
*/
|
|
|
|
#include <ldap_cdefs.h>
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
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 {
|
|
char *cmd_text; /* text for command, e.g. "HELP" */
|
|
int (*cmd_handler)LDAP_P(()); /* pointer to handler function */
|
|
};
|
|
|
|
|
|
#define MAXSIZE 8096
|
|
|
|
|
|
/*
|
|
* functions
|
|
*/
|
|
int help_cmd LDAP_P(());
|
|
int query_cmd LDAP_P(());
|
|
|
|
/*
|
|
* externs
|
|
*/
|
|
extern struct command cmds[];
|
|
|
|
LDAP_END_DECL
|