7 /* SMTP server pass-through proxy client
10 /* #include <smtpd_proxy.h>
21 * Application-specific.
23 #define SMTPD_PROX_WANT_NONE '\0' /* Do not receive reply */
24 #define SMTPD_PROX_WANT_ANY '0' /* Expect any reply */
25 #define SMTPD_PROX_WANT_OK '2' /* Expect 2XX reply */
26 #define SMTPD_PROX_WANT_MORE '3' /* Expect 3XX reply */
28 extern int smtpd_proxy_open(SMTPD_STATE
*, const char *, int, const char *, const char *);
29 extern int PRINTFLIKE(3, 4) smtpd_proxy_cmd(SMTPD_STATE
*, int, const char *,...);
30 extern int smtpd_proxy_rec_put(VSTREAM
*, int, const char *, ssize_t
);
31 extern int PRINTFLIKE(3, 4) smtpd_proxy_rec_fprintf(VSTREAM
*, int, const char *,...);
32 extern void smtpd_proxy_close(SMTPD_STATE
*);
37 /* The Secure Mailer license must be distributed with this software.
40 /* IBM T.J. Watson Research
42 /* Yorktown Heights, NY 10598, USA