Qsmtp  0.30dev
Data Fields
ips Struct Reference

list of IP addresses for a given host More...

#include <qdns.h>

Data Fields

struct in6_addr * addr
 
char * name
 
unsigned int priority
 
unsigned short count
 
struct ipsnext
 

Detailed Description

list of IP addresses for a given host

This struct represents a member of an IP address list. It is used as return value by the ask_dns* functions. A complete list can be freed by calling freeips(). If this list represents a list of MX entries the priority field contains the priority given in DNS. If there is no MX entry at all and the A record is used instead the priority is set to MX_PRIORITY_IMPLICIT. If the list is not created by ask_dnsmx() then the value of the priority field is undefined.

Field Documentation

struct in6_addr* ips::addr

IPv6 addresses

unsigned short ips::count

entries in addr

char* ips::name

name of the MX

struct ips* ips::next

pointer to next list entry

unsigned int ips::priority

MX priority


The documentation for this struct was generated from the following file: