diff src/context.h @ 242:d8ee4c97b9ab stable-6-0-26

64 bit fixes for libresolv.a
author Carl Byington <carl@five-ten-sg.com>
date Fri, 19 Nov 2010 13:01:07 -0800
parents 5c3e9bf45bb5
children 15bf4f68a0b2
line wrap: on
line diff
--- a/src/context.h	Fri Nov 19 10:34:33 2010 -0800
+++ b/src/context.h	Fri Nov 19 13:01:07 2010 -0800
@@ -24,6 +24,7 @@
 
 typedef map<const char *, const char *, ltstr>  string_map;
 typedef set<int>                                int_set;
+typedef set<int32_t>                            int32_t_set;
 typedef list<SMTP *>                            smtp_list;
 typedef DNSBL *                                 DNSBLP;
 typedef VERIFY *                                VERIFYP;
@@ -34,7 +35,7 @@
 typedef CONTEXT *                               CONTEXTP;
 typedef list<CONTEXTP>                          context_list;
 typedef map<const char *, CONTEXTP, ltstr>      context_map;
-typedef map<const char *, int, ltstr>           ns_mapper;
+typedef map<const char *, int32_t, ltstr>       ns_mapper;  // name to ipv4 address
 typedef map<const char *, int, ltstr>           rcpt_rates;
 typedef map<const char *, time_t,  ltstr>       autowhite_sent;
 typedef map<const char *, VERIFYP, ltstr>       verify_map;