|
reSIProcate/rutil
9694
|
#include <set>#include <vector>#include <cassert>#include "AresCompat.hxx"#include <arpa/nameser.h>#include "rutil/FdPoll.hxx"#include "rutil/Logger.hxx"#include "rutil/Socket.hxx"#include "rutil/compat.hxx"#include "rutil/BaseException.hxx"#include "rutil/Data.hxx"#include "rutil/Inserter.hxx"#include "rutil/dns/DnsStub.hxx"#include "rutil/dns/ExternalDns.hxx"#include "rutil/dns/ExternalDnsFactory.hxx"#include "rutil/dns/QueryTypes.hxx"#include "rutil/WinLeakCheck.hxx"
Go to the source code of this file.
Defines | |
| #define | RESIPROCATE_SUBSYSTEM resip::Subsystem::DNS |
Functions | |
| static Data | typeToData (int rr) |
| #define RESIPROCATE_SUBSYSTEM resip::Subsystem::DNS |
Definition at line 37 of file DnsStub.cxx.
| static Data typeToData | ( | int | rr | ) | [static] |
Definition at line 420 of file DnsStub.cxx.
Referenced by resip::DnsStub::Query::go().
{
// !dcm! fix this
if (rr == RR_A::getRRType())
{
return RR_A::getRRTypeName();
}
#if defined(USE_IPV6)
else if(rr == RR_AAAA::getRRType())
{
return RR_AAAA::getRRTypeName();
}
#endif
else if (rr ==RR_NAPTR::getRRType())
{
return RR_NAPTR::getRRTypeName();
}
else if(rr == RR_SRV::getRRType())
{
return RR_SRV::getRRTypeName();
}
else if (RR_CNAME::getRRType())
{
return RR_CNAME::getRRTypeName();
}
else
{
return "Unknown";
}
}
1.7.5.1