|
reSIProcate/rutil
9694
|
#include <ExternalDns.hxx>

Public Types | |
| enum | Features { None = 0, TryServersOfNextNetworkUponRcode3 = 1 << 0 } |
| enum | InitResult { Success = 0, BuildMismatch = 4777 } |
Public Member Functions | |
| virtual int | init (const std::vector< GenericIPAddress > &additionalNameservers, AfterSocketCreationFuncPtr, int dnsTimeout=0, int dnsTries=0, unsigned int features=0)=0 |
| virtual bool | checkDnsChange ()=0 |
| virtual unsigned int | getTimeTillNextProcessMS ()=0 |
| virtual void | buildFdSet (fd_set &read, fd_set &write, int &size)=0 |
| virtual void | process (fd_set &read, fd_set &write)=0 |
| virtual void | setPollGrp (FdPollGrp *grp)=0 |
| virtual void | processTimers ()=0 |
| virtual void | freeResult (ExternalDnsRawResult res)=0 |
| virtual void | freeResult (ExternalDnsHostResult res)=0 |
| virtual char * | errorMessage (long errorCode)=0 |
| virtual | ~ExternalDns () |
| virtual void | lookup (const char *target, unsigned short type, ExternalDnsHandler *handler, void *userData)=0 |
| virtual bool | hostFileLookup (const char *target, in_addr &addr)=0 |
| virtual bool | hostFileLookupLookupOnlyMode ()=0 |
Definition at line 19 of file ExternalDns.hxx.
Definition at line 22 of file ExternalDns.hxx.
{
None = 0,
TryServersOfNextNetworkUponRcode3 = 1 << 0 // 'No such name'
};
Definition at line 30 of file ExternalDns.hxx.
{
Success = 0,
BuildMismatch = 4777
};
| virtual resip::ExternalDns::~ExternalDns | ( | ) | [inline, virtual] |
Definition at line 69 of file ExternalDns.hxx.
{}
| virtual void resip::ExternalDns::buildFdSet | ( | fd_set & | read, |
| fd_set & | write, | ||
| int & | size | ||
| ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::buildFdSet().
| virtual bool resip::ExternalDns::checkDnsChange | ( | ) | [pure virtual] |
Implemented in resip::AresDns.
Referenced by resip::DnsStub::checkDnsChange().
| virtual char* resip::ExternalDns::errorMessage | ( | long | errorCode | ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::DnsStub(), and resip::DnsStub::errorMessage().
| virtual void resip::ExternalDns::freeResult | ( | ExternalDnsRawResult | res | ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::handleDnsRaw().
| virtual void resip::ExternalDns::freeResult | ( | ExternalDnsHostResult | res | ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
| virtual unsigned int resip::ExternalDns::getTimeTillNextProcessMS | ( | ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::getTimeTillNextProcessMS().
| virtual bool resip::ExternalDns::hostFileLookup | ( | const char * | target, |
| in_addr & | addr | ||
| ) | [pure virtual] |
Implemented in resip::AresDns.
| virtual bool resip::ExternalDns::hostFileLookupLookupOnlyMode | ( | ) | [pure virtual] |
Implemented in resip::AresDns.
Referenced by resip::DnsStub::supportedType().
| virtual int resip::ExternalDns::init | ( | const std::vector< GenericIPAddress > & | additionalNameservers, |
| AfterSocketCreationFuncPtr | , | ||
| int | dnsTimeout = 0, |
||
| int | dnsTries = 0, |
||
| unsigned int | features = 0 |
||
| ) | [pure virtual] |
Implemented in resip::AresDns.
Referenced by resip::DnsStub::DnsStub().
| virtual void resip::ExternalDns::lookup | ( | const char * | target, |
| unsigned short | type, | ||
| ExternalDnsHandler * | handler, | ||
| void * | userData | ||
| ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::lookupRecords().
| virtual void resip::ExternalDns::process | ( | fd_set & | read, |
| fd_set & | write | ||
| ) | [pure virtual] |
Implemented in resip::AresDns, and resip::LocalDns.
Referenced by resip::DnsStub::process().
| virtual void resip::ExternalDns::processTimers | ( | ) | [pure virtual] |
Implemented in resip::AresDns.
Referenced by resip::DnsStub::processTimers().
| virtual void resip::ExternalDns::setPollGrp | ( | FdPollGrp * | grp | ) | [pure virtual] |
Implemented in resip::AresDns.
Referenced by resip::DnsStub::setPollGrp().
1.7.5.1