1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #ifndef __DATA_SOURCE_H
- #define __DATA_SOURCE_H
- #include <stdint.h>
- #include <vector>
- #include <boost/shared_ptr.hpp>
- #include <exceptions/exceptions.h>
- #include <dns/name.h>
- #include <dns/rrclass.h>
- #include <cc/data.h>
- namespace isc {
- namespace dns {
- class Name;
- class RRType;
- class RRset;
- class RRsetList;
- }
- namespace datasrc {
- class DataSourceError : public Exception {
- public:
- DataSourceError(const char* file, size_t line, const char* what) :
- isc::Exception(file, line, what) {}
- };
- class NoSuchSerial : public DataSourceError {
- public:
- NoSuchSerial(const char* file, size_t line, const char* what) :
- DataSourceError(file, line, what) {}
- };
- }
- }
- #endif
|