X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c5f280e20a8e3ecd5f016b8fb34a436588915ed2..250b68713b5810a824bb14337b98737b6b81bf53:/src/src/spam.h diff --git a/src/src/spam.h b/src/src/spam.h index e6d27a137..e7da49beb 100644 --- a/src/src/spam.h +++ b/src/src/spam.h @@ -17,13 +17,21 @@ /* SHUT_WR seems to be undefined on Unixware ? */ #ifndef SHUT_WR -#define SHUT_WR 1 +# define SHUT_WR 1 #endif -typedef struct spamd_address_container { - uschar tcp_addr[24]; - unsigned short int tcp_port; - BOOL is_rspamd; +/* default weight */ +#define SPAMD_WEIGHT 1 + +typedef struct spamd_address_container +{ + uschar * hostspec; + int is_rspamd:1; + int is_failed:1; + unsigned int weight; + unsigned int timeout; + unsigned int retry; + unsigned int priority; } spamd_address_container; #endif