summaryrefslogtreecommitdiffstats
path: root/ipalloc.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2023-08-10 01:10:02 +0200
committermanuel <manuel@mausz.at>2023-08-10 01:10:02 +0200
commit29b6e8b053d21f0a1e722e1c3be38371e7efaf10 (patch)
tree797c10e213875cc41957d949060150db4a661ad8 /ipalloc.h
parentc36bd5f683eea9f6de05fcdda6d65505cbe8c316 (diff)
downloadqmail-29b6e8b053d21f0a1e722e1c3be38371e7efaf10.tar.gz
qmail-29b6e8b053d21f0a1e722e1c3be38371e7efaf10.tar.bz2
qmail-29b6e8b053d21f0a1e722e1c3be38371e7efaf10.zip
add support for querying DNSSEC ad (validated) flag
also migrate from deprecated resolver functions
Diffstat (limited to 'ipalloc.h')
-rw-r--r--ipalloc.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/ipalloc.h b/ipalloc.h
index bf9d060..641c3db 100644
--- a/ipalloc.h
+++ b/ipalloc.h
@@ -3,15 +3,14 @@
3 3
4#include "ip.h" 4#include "ip.h"
5 5
6struct ip_mx {
7 struct ip_address ip;
8 int pref;
6#ifdef TLS 9#ifdef TLS
7# define IX_FQDN 1 10 char *fqdn;
8#endif 11 unsigned short validated;
9
10#ifdef IX_FQDN
11struct ip_mx { struct ip_address ip; int pref; char *fqdn; } ;
12#else
13struct ip_mx { struct ip_address ip; int pref; } ;
14#endif 12#endif
13};
15 14
16#include "gen_alloc.h" 15#include "gen_alloc.h"
17 16