diff options
| author | manuel <manuel@mausz.at> | 2023-08-10 01:10:02 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2023-08-10 01:10:02 +0200 |
| commit | 29b6e8b053d21f0a1e722e1c3be38371e7efaf10 (patch) | |
| tree | 797c10e213875cc41957d949060150db4a661ad8 /ipalloc.h | |
| parent | c36bd5f683eea9f6de05fcdda6d65505cbe8c316 (diff) | |
| download | qmail-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.h | 13 |
1 files changed, 6 insertions, 7 deletions
| @@ -3,15 +3,14 @@ | |||
| 3 | 3 | ||
| 4 | #include "ip.h" | 4 | #include "ip.h" |
| 5 | 5 | ||
| 6 | struct 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 | ||
| 11 | struct ip_mx { struct ip_address ip; int pref; char *fqdn; } ; | ||
| 12 | #else | ||
| 13 | struct 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 | ||
