1#if defined(HAVE_CONFIG_H)
14#define NS_RRFIXEDSZ 10
32 throw SrvException(
"Failed parse of SRV record", __FILE__, __LINE__);
41 throw SrvException(
"Failed parse of SRV record", __FILE__, __LINE__);
50 throw SrvException(
"Failed parse of SRV record", __FILE__, __LINE__);
58 throw SrvException(
"Failed parse of SRV record", __FILE__, __LINE__);
64 return value == (mTarget +
":" +
Data(mPort));
70 strm << mName <<
" (SRV) --> p=" << mPriority <<
" w=" << mWeight <<
" " << mTarget <<
":" << mPort <<
" ttl=" << mTTL;
int ares_expand_name(const unsigned char *encoded, const unsigned char *abuf, int alen, char **s, long *enclen)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
virtual bool isSameValue(const Data &value) const
virtual EncodeStream & dump(EncodeStream &strm) const
virtual const Data & name() const
DnsSrvRecord(const RROverlay &)
const unsigned char * msg() const
const unsigned char * data() const
dcm! – add UnusedChecking(_enum) below;