Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

sres_record.h File Reference


Detailed Description

Defined when <sofia-resolv/sres_record.h> has been included. Sofia DNS Resolver Records.

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

Definition in file sres_record.h.

#include "sofia-resolv/sres_config.h"

Go to the source code of this file.

Classes

struct  sres_a6_record
struct  sres_a_record
struct  sres_aaaa_record
struct  sres_cname_record
struct  sres_common
struct  sres_generic
struct  sres_in6_t
struct  sres_naptr_record
struct  sres_ptr_record
union  sres_record
struct  sres_soa_record
struct  sres_srv_record

Typedefs

typedef struct sres_a6_record sres_a6_record_t
typedef struct sres_a_record sres_a_record_t
typedef struct sres_aaaa_record sres_aaaa_record_t
typedef struct sres_cname_record sres_cname_record_t
typedef struct sres_common sres_common_t
typedef struct sres_generic sres_generic_t
typedef struct sres_naptr_record sres_naptr_record_t
typedef struct sres_ptr_record sres_ptr_record_t
typedef union sres_record sres_record_t
typedef struct sres_soa_record sres_soa_record_t
typedef struct sres_srv_record sres_srv_record_t

Enumerations

enum  sres_class { sres_class_in = 1, sres_class_any = 255 }
enum  sres_qtypes {
  sres_type_a = 1, sres_type_ns = 2, sres_type_mf = 4, sres_type_cname = 5,
  sres_type_soa = 6, sres_type_mb = 7, sres_type_mg = 8, sres_type_mr = 9,
  sres_type_null = 10, sres_type_wks = 11, sres_type_ptr = 12, sres_type_hinfo = 13,
  sres_type_minfo = 14, sres_type_mx = 15, sres_type_txt = 16, sres_type_rp = 17,
  sres_type_afsdb = 18, sres_type_x25 = 19, sres_type_isdn = 20, sres_type_rt = 21,
  sres_type_nsap = 22, sres_type_nsap_ptr = 23, sres_type_sig = 24, sres_type_key = 25,
  sres_type_px = 26, sres_type_gpos = 27, sres_type_aaaa = 28, sres_type_loc = 29,
  sres_type_nxt = 30, sres_type_eid = 31, sres_type_nimloc = 32, sres_type_srv = 33,
  sres_type_atma = 34, sres_type_naptr = 35, sres_type_kx = 36, sres_type_cert = 37,
  sres_type_a6 = 38, sres_type_dname = 39, sres_type_sink = 40, sres_type_opt = 41,
  sres_qtype_tsig = 250, sres_qtype_ixfr = 251, sres_qtype_axfr = 252, sres_qtype_mailb = 253,
  sres_qtype_maila = 254, sres_qtype_any = 255
}
enum  sres_status {
  SRES_OK = 0, SRES_FORMAT_ERR = 1, SRES_SERVER_ERR = 2, SRES_NAME_ERR = 3,
  SRES_UNIMPL_ERR = 4, SRES_AUTH_ERR = 5, SRES_TIMEOUT_ERR = 32, SRES_RECORD_ERR = 33
}

Functions

SRESPUBFUN int sres_record_compare (sres_record_t const *, sres_record_t const *)
SRESPUBFUN char const * sres_record_type (int type, char buffer[8])


Generated by  Doxygen 1.6.0   Back to index