36 #if P_DNS_RESOLVER && P_URL
51 void PrintOn(ostream & strm)
const;
63 void PrintOn(ostream & strm) const;
80 {
return Lookup<NAPTR_SRV, NAPTRRecordList, NAPTRRecord>(domain, recordList); }
166 #endif // P_DNS_RESOLVER && P_URL
168 #endif // PTLIB_ENUM_H
PString service
Definition: enum.h:56
PString replacement
Definition: enum.h:58
void SetRDSServers(const PStringArray &servers)
Set the Default NAPTR server to lookup.
PBoolean orderLocked
Definition: enum.h:76
WORD preference
Definition: enum.h:54
void SetENUMServers(const PStringArray &serverlist)
Set the default ENUM domain search list.
Comparison
Result of the comparison operation performed by the Compare() function.
Definition: object.h:2251
int lastOrder
Definition: enum.h:75
This is an array collection class of PString objects.
Definition: pstring.h:2365
void UnlockOrder()
Definition: enum.h:70
PINDEX currentPos
Definition: enum.h:74
PString flags
Definition: enum.h:55
WORD order
Definition: enum.h:53
bool PBoolean
Definition: object.h:174
The character string class.
Definition: pstring.h:108
PString regex
Definition: enum.h:57
NAPTRRecord * GetNext(const char *service=NULL)
void PrintOn(ostream &strm) const
This is a list collection class of PString objects.
Definition: pstring.h:2562
NAPTRRecord * GetFirst(const char *service=NULL)
PDNS::NAPTRRecord * HandleDNSRecord(PDNS_RECORD dnsRecord, PDNS_RECORD results)
void PrintOn(ostream &strm) const
Output the contents of the object to the stream.
PBoolean GetRecords(const PString &domain, NAPTRRecordList &recordList)
Definition: enum.h:79
Comparison Compare(const PObject &obj) const
Compare the two objects and return their relative rank.
Ultimate parent class for all objects in the class library.
Definition: object.h:2204
PBoolean RDSLookup(const PURL &url, const PString &service, PStringList &dn)
Perform a lookup of the specified url on the NAPTR server list (set by SetNAPTRServers) that uses the...
This class describes a Universal Resource Locator.
Definition: url.h:56
PBoolean ENUMLookup(const PString &dn, const PString &service, const PStringArray &domains, PString &URL)
Perform a lookup of the specified DN using the specified service and domain list. ...
#define PDECLARE_SORTED_LIST(cls, T)
Begin declaration of a sorted list class.
Definition: lists.h:1131