diff options
author | Mukund Sivaraman <muks@isc.org> | 2012-07-03 03:14:42 +0200 |
---|---|---|
committer | Mukund Sivaraman <muks@isc.org> | 2012-07-03 03:14:42 +0200 |
commit | 1170780af08a0de33e882da5409776fe0e7f2a11 (patch) | |
tree | 5c373f8e4f25a80de40bc7cec5ceec6b2bac0a52 /src/lib/dns/name.h | |
parent | [2052] Rename partial_compare() to just compare() (diff) | |
parent | [master] added boost:: for its version of bind(). (diff) | |
download | kea-1170780af08a0de33e882da5409776fe0e7f2a11.tar.xz kea-1170780af08a0de33e882da5409776fe0e7f2a11.zip |
Merge branch 'master' into trac2052
Conflicts:
src/lib/dns/name.cc
Diffstat (limited to 'src/lib/dns/name.h')
-rw-r--r-- | src/lib/dns/name.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/dns/name.h b/src/lib/dns/name.h index 508921452c..6cfa5460be 100644 --- a/src/lib/dns/name.h +++ b/src/lib/dns/name.h @@ -230,6 +230,11 @@ class Name { /// //@{ private: + /// \brief Name data string + typedef std::basic_string<uint8_t> NameString; + /// \brief Name offsets type + typedef std::vector<uint8_t> NameOffsets; + /// The default constructor /// /// This is used internally in the class implementation, but at least at @@ -710,8 +715,8 @@ public: //@} private: - std::string ndata_; - std::vector<unsigned char> offsets_; + NameString ndata_; + NameOffsets offsets_; unsigned int length_; unsigned int labelcount_; }; |