diff options
Diffstat (limited to 'src/lib/dns/labelsequence.h')
-rw-r--r-- | src/lib/dns/labelsequence.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h index c2149f0ce8..019250e72c 100644 --- a/src/lib/dns/labelsequence.h +++ b/src/lib/dns/labelsequence.h @@ -96,6 +96,16 @@ public: /// \return Pointer to the wire-format data of this label sequence const uint8_t* getData(size_t* len) const; + /// \brief Return the offset data for this LabelSequence + /// + /// The offsets are returned in the <code>placeholder</code> array. + /// + /// \param len Pointer to a size_t where the number of offsets + /// will be stored + /// \param placeholder Array where the offset data will be returned + void getOffsetData(size_t* len, + uint8_t placeholder[Name::MAX_LABELS]) const; + /// \brief Return the length of the wire-format data of this LabelSequence /// /// This method returns the number of octets for the data that would |