aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.h
diff options
context:
space:
mode:
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);