Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
b8fde1ab
Commit
b8fde1ab
authored
Dec 05, 2012
by
Jelte Jansen
Committed by
Michal 'vorner' Vaner
Dec 13, 2012
Browse files
[2378] minor doc and comment fixes
parent
01461d51
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/zone_loader.cc
View file @
b8fde1ab
...
...
@@ -99,7 +99,7 @@ copyRRsets(const ZoneUpdaterPtr& destination, const ZoneIteratorPtr& source,
return
(
false
);
// Not yet, there may be more
}
}
}
// end unnamed namespace
bool
ZoneLoader
::
loadIncremental
(
size_t
limit
)
{
...
...
@@ -132,5 +132,5 @@ ZoneLoader::loadIncremental(size_t limit) {
}
}
}
}
}
// end namespace datasrc
}
// end namespace isc
src/lib/datasrc/zone_loader.h
View file @
b8fde1ab
...
...
@@ -69,7 +69,7 @@ public:
/// \throw DataSourceError in case the zone does not exist in destination.
/// This class does not support creating brand new zones, only loading
/// data into them. In case a new zone is needed, it must be created
/// beforeh
e
ad.
/// beforeha
n
d.
/// \throw DataSourceError in case of other (possibly low-level) errors,
/// such as read-only data source or database error.
ZoneLoader
(
DataSourceClient
&
destination
,
const
isc
::
dns
::
Name
&
zone_name
,
...
...
@@ -86,13 +86,13 @@ public:
/// \param source The data source from which the data would be read.
/// \throw InvalidParameter in case the class of destination and source
/// differs.
/// \throw NotImplemented in case the source data source client doesn't
/// provide an iterator.
/// \throw DataSourceError in case the zone does not exist in destination.
/// This class does not support creating brand new zones, only loading
/// data into them. In case a new zone is needed, it must be created
/// beforeh
e
ad.
/// beforeha
n
d.
/// \throw DataSourceError in case the zone does not exist in the source.
/// \throw NotImplemented in case the source data source client doesn't
/// provide an iterator.
/// \throw DataSourceError in case of other (possibly low-level) errors,
/// such as read-only data source or database error.
ZoneLoader
(
DataSourceClient
&
destination
,
const
isc
::
dns
::
Name
&
zone_name
,
...
...
@@ -139,7 +139,7 @@ private:
const
ZoneIteratorPtr
iterator_
;
/// \brief The destination zone updater
const
ZoneUpdaterPtr
updater_
;
/// \brief The master loader (for the
loader
mode)
/// \brief The master loader (for the
master file
mode)
boost
::
scoped_ptr
<
isc
::
dns
::
MasterLoader
>
loader_
;
/// \brief Indicator if loading was completed
bool
complete_
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment