Yate
|
A NAPTR record. More...
#include <yateclass.h>
Public Member Functions | |
NaptrRecord (int ord, int pref, const char *flags, const char *serv, const char *regexp, const char *next) | |
bool | replace (String &str) |
virtual void | dump (String &buf, const char *sep=" ") |
const String & | flags () const |
const String & | serv () const |
const String & | nextName () const |
Protected Attributes | |
String | m_flags |
String | m_service |
Regexp | m_regmatch |
String | m_template |
String | m_next |
A NAPTR record.
This class holds a NAPTR (Naming Authority Pointer) record
NaptrRecord | ( | int | ord, |
int | pref, | ||
const char * | flags, | ||
const char * | serv, | ||
const char * | regexp, | ||
const char * | next | ||
) |
Build a NAPTR record
ord | Record order |
pref | Record preference |
flags | Interpretation flags |
serv | Available services |
regexp | Substitution expression |
next | Next name to query |
Dump this record for debug purposes
buf | Destination buffer |
sep | Fields separator |
Reimplemented from DnsRecord.
Retrieve record interpretation flags
Retrieve the next domain name to query
Replace the enclosed template in a given string if matching the substitution expression
str | String to replace |