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
98cc3607
Commit
98cc3607
authored
Mar 03, 2017
by
Francis Dupont
Browse files
[1205a] Removed the flags parameter
parent
efebb1a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/cfg_to_element.h
View file @
98cc3607
...
...
@@ -9,7 +9,6 @@
#include
<exceptions/exceptions.h>
#include
<cc/data.h>
#include
<stdint.h>
namespace
isc
{
...
...
@@ -25,28 +24,6 @@ public:
namespace
dhcp
{
/// @name Constants for unparsing styles
///
//@{
/// Default
static
const
uint32_t
TO_ELEMENT_DEFAULT
=
0x00000000
;
/// Add default values
static
const
uint32_t
TO_ELEMENT_ADD_DEFAULTS
=
0x00000001
;
/// Ignore disables
static
const
uint32_t
TO_ELEMENT_IGNORE_DISABLE
=
0x00000002
;
/// Don't copy
static
const
uint32_t
TO_ELEMENT_DO_NOT_COPY
=
0x00000004
;
/// Get option names
static
const
uint32_t
TO_ELEMENT_OPTION_NAMES
=
0x00000100
;
/// Get ranges as prefixs
static
const
uint32_t
TO_ELEMENT_TRY_PREFIXES
=
0x00000200
;
/// Skip (vs throw) on errors
static
const
uint32_t
TO_ELEMENT_SKIP_ERRORS
=
0x80000000
;
//@}
/// @brief Abstract class for configuration Cfg_* classes
///
template
<
typename
...
Args
>
...
...
@@ -62,11 +39,9 @@ struct CfgToElement {
/// @endcode
///
/// @param extras extra arguments
/// @param flags a bitfield which can be used to modify the result
/// @return a pointer to a configuration which can be parsed into
/// the initial configuration object
virtual
isc
::
data
::
ElementPtr
toElement
(
Args
...
extras
,
const
uint32_t
flags
)
const
=
0
;
virtual
isc
::
data
::
ElementPtr
toElement
(
Args
...
extras
)
const
=
0
;
};
};
// namespace isc::dhcp
...
...
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