X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fsmtp%2Fsmtpqueue.h;h=d0543518925f4c5c0be4eda17118ae3aebef4efa;hb=c12b418a64b44be9d08cae0e5dd25c988a522b90;hp=023b479caf285c2c2d2f3796acc58c48675771ee;hpb=26ade12163f58929a68aa5acc2530c937185d665;p=citadel.git diff --git a/citadel/modules/smtp/smtpqueue.h b/citadel/modules/smtp/smtpqueue.h index 023b479ca..d05435189 100644 --- a/citadel/modules/smtp/smtpqueue.h +++ b/citadel/modules/smtp/smtpqueue.h @@ -2,6 +2,21 @@ /* SMTP CLIENT (Queue Management) STUFF */ /*****************************************************************************/ +typedef struct ParsedURL ParsedURL; +struct ParsedURL { + StrBuf *URL; + unsigned Port; + const char *User; + const char *Pass; + const char *LocalPart; + int IsIP; + int af; + struct hostent *HEnt; + struct in6_addr Addr; + ParsedURL *Next; +}; + + #define MaxAttempts 15 typedef struct _delivery_attempt { time_t when; @@ -38,6 +53,7 @@ typedef struct queueitem { long ActiveDeliveries; StrBuf *EnvelopeFrom; StrBuf *BounceTo; + ParsedURL *URL; } OneQueItem; typedef void (*QItemHandler)(OneQueItem *Item, StrBuf *Line, const char **Pos);