reSIProcate/rutil  9694
Defines | Functions
QueryTypes.cxx File Reference
#include "QueryTypes.hxx"
Include dependency graph for QueryTypes.cxx:

Go to the source code of this file.

Defines

#define defineQueryType(_name, _type, _rrType)

Functions

 defineQueryType (A, DnsHostRecord, 1)
 defineQueryType (CNAME, DnsCnameRecord, 5)
 defineQueryType (SRV, DnsSrvRecord, 33)
 defineQueryType (NAPTR, DnsNaptrRecord, 35)

Define Documentation

#define defineQueryType (   _name,
  _type,
  _rrType 
)
Value:
Data RR_##_name::getRRTypeName()             \
{                                               \
   return #_name;                               \
}                                               \
unsigned short RR_##_name::getRRType()          \
{                                               \
   return _rrType;                              \
}                                               \
RR_##_name resip::q_##_name

Definition at line 9 of file QueryTypes.cxx.


Function Documentation

defineQueryType ( ,
DnsHostRecord  ,
 
)
defineQueryType ( CNAME  ,
DnsCnameRecord  ,
 
)
defineQueryType ( SRV  ,
DnsSrvRecord  ,
33   
)
defineQueryType ( NAPTR  ,
DnsNaptrRecord  ,
35   
)