reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
QueryTypes.cxx File Reference
#include "QueryTypes.hxx"

Go to the source code of this file.

Macros

#define defineQueryType(_name, _type, _rrType)
 

Functions

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

Macro Definition Documentation

◆ defineQueryType

#define defineQueryType (   _name,
  _type,
  _rrType 
)
Value:
Data RR_##_name::getRRTypeName() \
{ \
return #_name; \
} \
unsigned short RR_##_name::getRRType() \
{ \
return _rrType; \
} \
RR_##_name resip::q_##_name
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90

Definition at line 9 of file QueryTypes.cxx.

Function Documentation

◆ defineQueryType() [1/5]

defineQueryType ( A  ,
DnsHostRecord  ,
1   
)

◆ defineQueryType() [2/5]

defineQueryType ( AAAA  ,
DnsAAAARecord  ,
28   
)

◆ defineQueryType() [3/5]

defineQueryType ( CNAME  ,
DnsCnameRecord  ,
5   
)

◆ defineQueryType() [4/5]

defineQueryType ( NAPTR  ,
DnsNaptrRecord  ,
35   
)

◆ defineQueryType() [5/5]

defineQueryType ( SRV  ,
DnsSrvRecord  ,
33   
)