diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2015-06-25 19:23:23 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2015-06-25 21:00:25 +0200 |
commit | fe06c49b1946066af091d12d29438e04ff69e997 (patch) | |
tree | 62e5993063e2d1651f9464dbbcaf3147bb83f7e6 /src/lib/dhcpsrv/lease_mgr_factory.h | |
parent | [3681] Added missing unit-test file. (diff) | |
download | kea-fe06c49b1946066af091d12d29438e04ff69e997.tar.xz kea-fe06c49b1946066af091d12d29438e04ff69e997.zip |
[3681] Patch as provided by Adam Kalmus:
- schema header is now updated to 3.0
- copyright years updated
- doxygen comments added
- unit-test for upgrading to 3.0 added
Diffstat (limited to 'src/lib/dhcpsrv/lease_mgr_factory.h')
-rwxr-xr-x[-rw-r--r--] | src/lib/dhcpsrv/lease_mgr_factory.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lib/dhcpsrv/lease_mgr_factory.h b/src/lib/dhcpsrv/lease_mgr_factory.h index 9ff2fdc75e..130da582a5 100644..100755 --- a/src/lib/dhcpsrv/lease_mgr_factory.h +++ b/src/lib/dhcpsrv/lease_mgr_factory.h @@ -99,26 +99,7 @@ public: /// create() to create one before calling this method. static LeaseMgr& instance(); - /// @brief Parse database access string - /// - /// Parses the string of "keyword=value" pairs and separates them - /// out into the map. - /// - /// @param dbaccess Database access string. - /// - /// @return std::map<std::string, std::string> Map of keyword/value pairs. - static DataSource::ParameterMap parse(const std::string& dbaccess); - /// @brief Redact database access string - /// - /// Takes the database parameters and returns a database access string - /// passwords replaced by asterisks. This string is used in log messages. - /// - /// @param parameters Database access parameters (output of "parse"). - /// - /// @return Redacted database access string. - static std::string redactedAccessString( - const DataSource::ParameterMap& parameters); private: /// @brief Hold pointer to lease manager |