Browse Source

moved RRsetList to the data source module. it doesn't have to be in the
DNS library, and since we want to make the latter a general purpose library
we should avoid having dependency on std objects as much as possible.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@717 e5f2f494-b856-4b98-b285-d166d9295462

JINMEI Tatuya 15 years ago
parent
commit
d698c8b16a
2 changed files with 2 additions and 1 deletions
  1. 2 0
      src/lib/auth/cpp/data_source.h
  2. 0 1
      src/lib/dns/cpp/rrset.h

+ 2 - 0
src/lib/auth/cpp/data_source.h

@@ -37,6 +37,8 @@ enum DSResult {
 
 class DataSrc;
 
+typedef std::vector<RRsetPtr> RRsetList;
+
 class AbstractDataSrc {
 public:
     virtual ~AbstractDataSrc() {};

+ 0 - 1
src/lib/dns/cpp/rrset.h

@@ -39,7 +39,6 @@ class AbstractRRset;
 typedef boost::shared_ptr<AbstractRRset> RRsetPtr;
 class BasicRRset;
 typedef BasicRRset RRset;
-typedef std::vector<RRsetPtr> RRsetList;
 class BasicRRsetImpl;
 
 class RdataIterator;