s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
dns.h
Go to the documentation of this file.
1#ifndef DNS_H
2#define DNS_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "dnsresolv.h"
9#include "ipalloc.h"
10#include "stralloc.h"
11
12#define DNS_INIT static char seed[128]; dns_random_init(seed);
13#define DNS_NXD 0
14#define DNS_SOFT -5
15#define DNS_HARD -6
16
17void dns_init(int);
18int dns_ip(ipalloc *,stralloc *);
19int dns_mxip(ipalloc *,stralloc *,unsigned long);
20int dns_tlsa(stralloc *,const stralloc *);
21int dns_mxhost(stralloc *,const stralloc *);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif
int dns_tlsa(stralloc *, const stralloc *)
Definition: dns_tlsa.c:41
int dns_mxip(ipalloc *, stralloc *, unsigned long)
Definition: dns.c:105
int dns_mxhost(stralloc *, const stralloc *)
int dns_ip(ipalloc *, stralloc *)
Definition: dns.c:194
void dns_init(int)