summaryrefslogtreecommitdiff
path: root/common/smtppass.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/smtppass.h')
-rw-r--r--common/smtppass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/smtppass.h b/common/smtppass.h
index aebace1..e7fc780 100644
--- a/common/smtppass.h
+++ b/common/smtppass.h
@@ -66,6 +66,7 @@ typedef struct spio
{
int fd; /* The file descriptor wrapped */
const char* name; /* The name for logging */
+ time_t last_action; /* Time of last action on descriptor */
/* Internal use only */
char line[SP_LINE_LENGTH];
@@ -124,6 +125,7 @@ typedef struct spctx
int _crlf; /* Private data */
char _l1[SP_LINE_LENGTH];
char _l2[SP_LINE_LENGTH];
+ time_t _tm;
}
spctx_t;