Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
12b34733
Commit
12b34733
authored
Aug 11, 2011
by
Jelte Jansen
Browse files
[1062] unconst find()
parent
cfd1d9e1
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/database.cc
View file @
12b34733
...
...
@@ -156,7 +156,7 @@ ZoneFinder::FindResult
DatabaseClient
::
Finder
::
find
(
const
isc
::
dns
::
Name
&
name
,
const
isc
::
dns
::
RRType
&
type
,
isc
::
dns
::
RRsetList
*
,
const
FindOptions
)
const
const
FindOptions
)
{
// This variable is used to determine the difference between
// NXDOMAIN and NXRRSET
...
...
src/lib/datasrc/database.h
View file @
12b34733
...
...
@@ -236,8 +236,7 @@ public:
virtual
FindResult
find
(
const
isc
::
dns
::
Name
&
name
,
const
isc
::
dns
::
RRType
&
type
,
isc
::
dns
::
RRsetList
*
target
=
NULL
,
const
FindOptions
options
=
FIND_DEFAULT
)
const
;
const
FindOptions
options
=
FIND_DEFAULT
);
/**
* \brief The zone ID
...
...
src/lib/datasrc/memory_datasrc.cc
View file @
12b34733
...
...
@@ -618,7 +618,7 @@ InMemoryZoneFinder::getClass() const {
ZoneFinder
::
FindResult
InMemoryZoneFinder
::
find
(
const
Name
&
name
,
const
RRType
&
type
,
RRsetList
*
target
,
const
FindOptions
options
)
const
RRsetList
*
target
,
const
FindOptions
options
)
{
return
(
impl_
->
find
(
name
,
type
,
target
,
options
));
}
...
...
src/lib/datasrc/memory_datasrc.h
View file @
12b34733
...
...
@@ -73,7 +73,7 @@ public:
virtual
FindResult
find
(
const
isc
::
dns
::
Name
&
name
,
const
isc
::
dns
::
RRType
&
type
,
isc
::
dns
::
RRsetList
*
target
=
NULL
,
const
FindOptions
options
=
FIND_DEFAULT
)
const
;
const
FindOptions
options
=
FIND_DEFAULT
);
/// \brief Inserts an rrset into the zone.
///
...
...
src/lib/datasrc/zone.h
View file @
12b34733
...
...
@@ -197,7 +197,7 @@ public:
const
isc
::
dns
::
RRType
&
type
,
isc
::
dns
::
RRsetList
*
target
=
NULL
,
const
FindOptions
options
=
FIND_DEFAULT
)
const
=
0
;
=
FIND_DEFAULT
)
=
0
;
//@}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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