SMTP-Client: move the client-shutdown procedure into the DB-Thread; we musn't block...
[citadel.git] / citadel / modules / smtp / smtp_clienthandlers.h
index 02b84e75fb213fa8e864885c2f457205e2f39fc8..38a7f58f4490795fc987ee98b8baeeb0b59e31b7 100644 (file)
@@ -38,6 +38,8 @@ typedef struct _stmp_out_msg {
        long n;
        AsyncIO IO;
        long CXFlags;
+       int IDestructQueItem;
+       int nRemain;
 
        eSMTP_C_States State;
 
@@ -57,11 +59,14 @@ typedef struct _stmp_out_msg {
        ParsedURL *Relay;
        ParsedURL *pCurrRelay;
        StrBuf *msgtext;
+       StrBuf *QMsgData;
        const char *envelope_from;
+
        char user[1024];
        char node[1024];
        char name[1024];
        char mailfrom[1024];
+
        long Flags;
 } SmtpOutMsg;