X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fstructs.h;h=338dccbf1233452d5bca2d0f5224b155a9d24745;hb=0d75f94545ea7bf93078f908b77c2b6cf57edc80;hp=c40750045fe4d9999f958e25c552fb243eb043a3;hpb=b4f579d134197249b448cb5d8abf801ba4c729bb;p=exim.git diff --git a/src/src/structs.h b/src/src/structs.h index c40750045..338dccbf1 100644 --- a/src/src/structs.h +++ b/src/src/structs.h @@ -728,7 +728,11 @@ for the lookups cache */ typedef struct expiring_data { time_t expiry; /* if nonzero, data invalid after this time */ - void *ptr; /* pointer to data */ + union + { + void *ptr; /* pointer to data */ + int val; /* or integer data */ + } data; } expiring_data; /* Structure for holding the handle and the cached last lookup for searches. @@ -809,7 +813,7 @@ typedef struct { #ifdef SUPPORT_DANE BOOL dane:1; /* connection must do dane */ - dns_answer tlsa_dnsa; + dns_answer tlsa_dnsa; /* strictly, this should use tainted mem */ #endif } smtp_connect_args;