projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SMTP-Client: output our current state on the useragent; since we're internal only.
[citadel.git]
/
citadel
/
modules
/
smtp
/
smtp_clienthandlers.h
diff --git
a/citadel/modules/smtp/smtp_clienthandlers.h
b/citadel/modules/smtp/smtp_clienthandlers.h
index 149c3ddc54fbc6bceff972ea636bdfc33d0be5cc..3cbcb6d4a39881083aaf5d503c1480e880171826 100644
(file)
--- a/
citadel/modules/smtp/smtp_clienthandlers.h
+++ b/
citadel/modules/smtp/smtp_clienthandlers.h
@@
-121,3
+121,22
@@
int smtp_resolve_recipients(SmtpOutMsg *SendMsg);
#define SMTPCM_syslog(LEVEL, FORMAT) \
DBGLOG(LEVEL) syslog(LEVEL, \
"SMTPCQ: " FORMAT)
#define SMTPCM_syslog(LEVEL, FORMAT) \
DBGLOG(LEVEL) syslog(LEVEL, \
"SMTPCQ: " FORMAT)
+
+
+
+typedef enum __smtpstate {
+ eSTMPmxlookup,
+ eSTMPevaluatenext,
+ eSTMPalookup,
+ eSTMPaaaalookup,
+ eSTMPconnecting,
+ eSTMPsmtp,
+ eSTMPsmtpdata,
+ eSTMPsmtpdone,
+ eSTMPfinished,
+ eSTMPfailOne,
+ eSMTPFailTemporary,
+ eSMTPFailTotal
+} smtpstate;
+
+void SetSMTPState(AsyncIO *IO, smtpstate State);