summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/rdata.h')
-rw-r--r--src/lib/dns/rdata.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/dns/rdata.h b/src/lib/dns/rdata.h
index 1e57f270e8..ab15918f76 100644
--- a/src/lib/dns/rdata.h
+++ b/src/lib/dns/rdata.h
@@ -23,9 +23,11 @@
namespace isc {
namespace util {
+namespace io {
class InputBuffer;
class OutputBuffer;
}
+}
namespace dns {
class MessageRenderer;
class RRType;
@@ -170,7 +172,7 @@ public:
/// should be explicitly defined in the derived class.
///
/// \param buffer An output buffer to store the wire data.
- virtual void toWire(isc::util::OutputBuffer& buffer) const = 0;
+ virtual void toWire(isc::util::io::OutputBuffer& buffer) const = 0;
/// \brief Render the \c Rdata in the wire format into a
/// \c MessageRenderer object.
///
@@ -274,7 +276,7 @@ public:
/// \param buffer A reference to an \c InputBuffer object storing the
/// \c Rdata to parse.
/// \param rdata_len The length in buffer of the \c Rdata. In bytes.
- Generic(isc::util::InputBuffer& buffer, size_t rdata_len);
+ Generic(isc::util::io::InputBuffer& buffer, size_t rdata_len);
///
/// \brief The destructor.
virtual ~Generic();
@@ -318,7 +320,7 @@ public:
/// be thrown.
///
/// \param buffer An output buffer to store the wire data.
- virtual void toWire(isc::util::OutputBuffer& buffer) const;
+ virtual void toWire(isc::util::io::OutputBuffer& buffer) const;
/// \brief Render the \c generic::Generic in the wire format into a
/// \c MessageRenderer object.
///
@@ -445,7 +447,7 @@ RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
/// \return An \c RdataPtr object pointing to the created \c Rdata
/// object.
RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
- isc::util::InputBuffer& buffer, size_t len);
+ isc::util::io::InputBuffer& buffer, size_t len);
/// \brief Create RDATA of a given pair of RR type and class, copying
/// of another RDATA of same kind.
///