#define TXT_LIKE_H 1
#include <dns/master_lexer.h>
-#include <dns/master_loader.h>
-#include <dns/master_loader_callbacks.h>
#include <dns/rdata/generic/detail/char_string.h>
#include <stdint.h>
/// \brief Constructor using the master lexer.
///
- /// This implementation only uses the \c lexer parameters; others are
- /// ignored.
- ///
/// \throw CharStringTooLong the parameter string length exceeds maximum.
/// \throw InvalidRdataText the method cannot process the parameter data
///
/// \param lexer A \c MasterLexer object parsing a master file for this
/// RDATA.
- TXTLikeImpl(MasterLexer& lexer, const Name*, MasterLoader::Options,
- MasterLoaderCallbacks&)
- {
+ TXTLikeImpl(MasterLexer& lexer) {
buildFromTextHelper(lexer);
}
///
/// \param lexer A \c MasterLexer object parsing a master file for this
/// RDATA.
-SPF::SPF(MasterLexer& lexer, const Name* origin,
- MasterLoader::Options options, MasterLoaderCallbacks& callbacks) :
- impl_(new SPFImpl(lexer, origin, options, callbacks))
+SPF::SPF(MasterLexer& lexer, const Name*, MasterLoader::Options,
+ MasterLoaderCallbacks&) :
+ impl_(new SPFImpl(lexer))
{}
/// \brief Constructor from string.
///
/// \param lexer A \c MasterLexer object parsing a master file for this
/// RDATA.
-TXT::TXT(MasterLexer& lexer, const Name* origin,
- MasterLoader::Options options, MasterLoaderCallbacks& callbacks) :
- impl_(new TXTImpl(lexer, origin, options, callbacks))
+TXT::TXT(MasterLexer& lexer, const Name*, MasterLoader::Options,
+ MasterLoaderCallbacks&) :
+ impl_(new TXTImpl(lexer))
{}
TXT::TXT(const std::string& txtstr) :