sofia-resolv/sres_record.h File Reference


Detailed Description

Sofia DNS Resolver Records.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>,
Include Context
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sofia-resolv/sres_record.h>

#include "sofia-resolv/sres_config.h"

Include dependency graph for sres_record.h:

Go to the source code of this file.

Data Structures

struct  sres_common
 Common part of all DNS records. More...
struct  sres_soa_record
 Start of a zone of authority record (RFC 1035). More...
struct  sres_generic
 Generic DNS record. More...
struct  sres_a_record
 Address record (RFC 1035). More...
struct  sres_in6_t
 IPv6 address used by sresolv library. More...
struct  sres_a6_record
 Aggregated address record for IPv6 (RFC 2874, deprecated). More...
struct  sres_aaaa_record
 Address record for IPv6 (RFC 1886). More...
struct  sres_cname_record
 Canonic name record (RFC 1035). More...
struct  sres_ptr_record
 Pointer record (RFC 1035). More...
struct  sres_srv_record
 Service location record (RFC 2782). More...
struct  sres_naptr_record
 Naming authority pointer record (RFC 2915). More...
union  sres_record
 Union of different DNS records. More...

Typedefs

typedef sres_common sres_common_t
 Common part of all DNS records.
typedef sres_soa_record sres_soa_record_t
 Start of a zone of authority record (RFC 1035).
typedef sres_generic sres_generic_t
 Generic DNS record.
typedef sres_a_record sres_a_record_t
 Address record (RFC 1035).
typedef sres_a6_record sres_a6_record_t
 Aggregated address record for IPv6 (RFC 2874, deprecated).
typedef sres_aaaa_record sres_aaaa_record_t
 Address record for IPv6 (RFC 1886).
typedef sres_cname_record sres_cname_record_t
 Canonic name record (RFC 1035).
typedef sres_ptr_record sres_ptr_record_t
 Pointer record (RFC 1035).
typedef sres_srv_record sres_srv_record_t
 Service location record (RFC 2782).
typedef sres_naptr_record sres_naptr_record_t
 Naming authority pointer record (RFC 2915).
typedef sres_record sres_record_t
 Type representing any DNS record.

Enumerations

enum  sres_status {
  SRES_OK,
  SRES_FORMAT_ERR,
  SRES_SERVER_ERR,
  SRES_NAME_ERR,
  SRES_UNIMPL_ERR,
  SRES_AUTH_ERR,
  SRES_TIMEOUT_ERR,
  SRES_RECORD_ERR
}
 Possible values for r_status (RCODE) in sres_common. More...
enum  sres_class {
  sres_class_in,
  sres_class_any
}
enum  sres_qtypes {
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sres_type_ns,
  sres_type_a,
  sr