3 #ifndef _FLUSH_CLNT_H_INCLUDED_
4 #define _FLUSH_CLNT_H_INCLUDED_
10 /* flush backed up mail
12 /* #include <flush_clnt.h>
19 extern void flush_init(void);
20 extern int flush_add(const char *, const char *);
21 extern int flush_send_site(const char *);
22 extern int flush_send_file(const char *);
23 extern int flush_refresh(void);
24 extern int flush_purge(void);
27 * Mail flush server requests.
29 #define FLUSH_REQ_ADD "add" /* append queue ID to site log */
30 #define FLUSH_REQ_SEND_SITE "send_site" /* flush mail for site */
31 #define FLUSH_REQ_SEND_FILE "send_file" /* flush one queue file */
32 #define FLUSH_REQ_REFRESH "rfrsh" /* refresh old logfiles */
33 #define FLUSH_REQ_PURGE "purge" /* refresh all logfiles */
36 * Mail flush server status codes.
38 #define FLUSH_STAT_FAIL -1 /* request failed */
39 #define FLUSH_STAT_OK 0 /* request executed */
40 #define FLUSH_STAT_BAD 3 /* invalid parameter */
41 #define FLUSH_STAT_DENY 4 /* request denied */
47 /* The Secure Mailer license must be distributed with this software.
50 /* IBM T.J. Watson Research
52 /* Yorktown Heights, NY 10598, USA