]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/smtp/smtpqueue.h
Add busines logic for toggling multiple mx records etc.
[citadel.git] / citadel / modules / smtp / smtpqueue.h
index d0543518925f4c5c0be4eda17118ae3aebef4efa..1ae1034b4eac942ba886bdce7d18aeb65e8dcf23 100644 (file)
@@ -6,10 +6,12 @@ typedef struct ParsedURL ParsedURL;
 struct ParsedURL {
        StrBuf *URL;
        unsigned Port;
+       const char *Host;
        const char *User;
        const char *Pass;
        const char *LocalPart;
        int IsIP;
+       int IPv6;
        int af;
        struct hostent *HEnt;
        struct in6_addr Addr;
@@ -54,6 +56,7 @@ typedef struct queueitem {
        StrBuf *EnvelopeFrom;
        StrBuf *BounceTo;
        ParsedURL *URL;
+       ParsedURL *FallBackHost;
 } OneQueItem;
 typedef void (*QItemHandler)(OneQueItem *Item, StrBuf *Line, const char **Pos);