s/qmail 4.2.29a
Next generation secure email transport
Loading...
Searching...
No Matches
Macros | Functions
dns.h File Reference
#include "dnsresolv.h"
#include "ipalloc.h"
#include "stralloc.h"
Include dependency graph for dns.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DNS_INIT   static char seed[128]; dns_random_init(seed);
 
#define DNS_NXD   0
 
#define DNS_SOFT   -5
 
#define DNS_HARD   -6
 

Functions

void dns_init (int)
 
int dns_ip (ipalloc *, stralloc *)
 
int dns_mxip (ipalloc *, stralloc *, unsigned long)
 
int dns_tlsa (stralloc *, const stralloc *)
 
int dns_mxhost (stralloc *, const stralloc *)
 

Macro Definition Documentation

◆ DNS_HARD

#define DNS_HARD   -6

Definition at line 15 of file dns.h.

◆ DNS_INIT

#define DNS_INIT   static char seed[128]; dns_random_init(seed);

Definition at line 12 of file dns.h.

◆ DNS_NXD

#define DNS_NXD   0

Definition at line 13 of file dns.h.

◆ DNS_SOFT

#define DNS_SOFT   -5

Definition at line 14 of file dns.h.

Function Documentation

◆ dns_init()

void dns_init ( int  )

◆ dns_ip()

int dns_ip ( ipalloc *  ia,
stralloc *  sa 
)

Definition at line 194 of file dns.c.

Here is the caller graph for this function:

◆ dns_mxhost()

int dns_mxhost ( stralloc *  ,
const stralloc *   
)

◆ dns_mxip()

int dns_mxip ( ipalloc *  ia,
stralloc *  sa,
unsigned long  random 
)

Definition at line 105 of file dns.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dns_tlsa()

int dns_tlsa ( stralloc *  out,
const stralloc *  fqdn 
)

Definition at line 41 of file dns_tlsa.c.

Here is the call graph for this function:
Here is the caller graph for this function: