1
#ifndef _FLUSH_CLNT_H_INCLUDED_
2
#define _FLUSH_CLNT_H_INCLUDED_
8
/* flush backed up mail
10
/* #include <flush_clnt.h>
17
extern void flush_init(void);
18
extern int flush_add(const char *, const char *);
19
extern int flush_send(const char *);
20
extern int flush_refresh(void);
21
extern int flush_purge(void);
24
* Mail flush server requests.
26
#define FLUSH_REQ_ADD "add" /* append queue ID to site log */
27
#define FLUSH_REQ_SEND "send" /* flush mail queued for site */
28
#define FLUSH_REQ_REFRESH "rfrsh" /* refresh old logfiles */
29
#define FLUSH_REQ_PURGE "purge" /* refresh all logfiles */
32
* Mail flush server status codes.
34
#define FLUSH_STAT_FAIL -1 /* request failed */
35
#define FLUSH_STAT_OK 0 /* request executed */
36
#define FLUSH_STAT_BAD 3 /* invalid parameter */
37
#define FLUSH_STAT_DENY 4 /* request denied */
43
/* The Secure Mailer license must be distributed with this software.
46
/* IBM T.J. Watson Research
48
/* Yorktown Heights, NY 10598, USA