diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cstore/cstore.cpp | 13 | ||||
-rw-r--r-- | src/cstore/cstore.hpp | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp index 3cd0649..33210dc 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -1096,10 +1096,19 @@ void Cstore::cfgPathGetDeletedValues(const vector<string>& path_comps, vector<string>& dvals) { + cfgPathGetDeletedValuesDA(path_comps, dvals, false); +} + +// same as above but DA +void +Cstore::cfgPathGetDeletedValuesDA(const vector<string>& path_comps, + vector<string>& dvals, + bool include_deactivated) +{ vector<string> ovals; vector<string> nvals; - if (!cfgPathGetValues(path_comps, ovals, true) - || !cfgPathGetValues(path_comps, nvals, false)) { + if (!cfgPathGetValuesDA(path_comps, ovals, true, include_deactivated) + || !cfgPathGetValuesDA(path_comps, nvals, false, include_deactivated)) { return; } map<string, bool> dmap; diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp index 492462e..37a3e06 100644 --- a/src/cstore/cstore.hpp +++ b/src/cstore/cstore.hpp @@ -240,6 +240,9 @@ public: void cfgPathGetDeletedChildNodesDA(const vector<string>& path_comps, vector<string>& cnodes, bool include_deactivated = true); + void cfgPathGetDeletedValuesDA(const vector<string>& path_comps, + vector<string>& dvals, + bool include_deactivated = true); void cfgPathGetChildNodesStatusDA(const vector<string>& path_comps, map<string, string>& cmap); |