Support TTL from SOA for NXDOMAIN & NODATA cache entries. Bug 1395
[exim.git] / src / src / structs.h
index bc6edc58631135b16731c7f5726cb00b5fac9812..338dccbf1233452d5bca2d0f5224b155a9d24745 100644 (file)
@@ -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.