aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2003-08-06 04:31:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2003-08-06 04:31:11 +0000
commit2cec9def937bc3f3b08ca1afeb9cf80413d8e4b4 (patch)
tree429c386abc29ea48315c00ef69062ca453f2679b /smtp.h
parenta5a7f5681a22b4e3fbdd0c4261af38cb1c064490 (diff)
downloadfetchmail-2cec9def937bc3f3b08ca1afeb9cf80413d8e4b4.tar.gz
fetchmail-2cec9def937bc3f3b08ca1afeb9cf80413d8e4b4.tar.bz2
fetchmail-2cec9def937bc3f3b08ca1afeb9cf80413d8e4b4.zip
Ready to ship.
svn path=/trunk/; revision=3831
Diffstat (limited to 'smtp.h')
-rw-r--r--smtp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/smtp.h b/smtp.h
index 8d27049b..ef5d03d3 100644
--- a/smtp.h
+++ b/smtp.h
@@ -7,6 +7,8 @@
#ifndef _POPSMTP_
#define _POPSMTP_
+#include <time.h>
+
#define SMTPBUFSIZE 256
/* SMTP error values */
@@ -21,6 +23,8 @@
#define ESMTP_ATRN 0x08 /* used with ODMR, RFC 2645 */
#define ESMTP_AUTH 0x10
+extern time_t last_smtp_ok;
+
void SMTP_setmode(char);
int SMTP_helo(int socket,const char *host);
int SMTP_ehlo(int socket,const char *host, char *name, char *passwd, int *opt);