summaryrefslogtreecommitdiff
path: root/src/cstore
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-12 12:03:54 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-12 12:03:54 -0700
commitced5e57f16b055249be5012bf13bb90c8811eb2a (patch)
treea2aa5fee46efa459a44668414600298abb77dc1e /src/cstore
parentbeb3e08460695b9b97eaf57630347c032a51f244 (diff)
downloadvyatta-cfg-ced5e57f16b055249be5012bf13bb90c8811eb2a.tar.gz
vyatta-cfg-ced5e57f16b055249be5012bf13bb90c8811eb2a.zip
add more functions to shell API
Diffstat (limited to 'src/cstore')
-rw-r--r--src/cstore/cstore.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp
index 34193c2..caf845b 100644
--- a/src/cstore/cstore.hpp
+++ b/src/cstore/cstore.hpp
@@ -174,6 +174,7 @@ public:
bool active_cfg = false);
bool cfgPathDefault(const vector<string>& path_comps,
bool active_cfg = false);
+
/* observers for working AND active configs (at the same time).
* MUST ONLY be used during config session.
*/
@@ -184,9 +185,10 @@ public:
vector<string>& cnodes);
void cfgPathGetChildNodesStatus(const vector<string>& path_comps,
map<string, string>& cmap);
- /* observers for "effective config" (a combination of working config,
- * active config, and commit processing state) only.
- * MUST ONLY be used during config session.
+
+ /* observers for "effective config". can be used both during a config
+ * session and outside a config session. more detailed information
+ * can be found in the source file.
*/
bool cfgPathEffective(const vector<string>& path_comps);
void cfgPathGetEffectiveChildNodes(const vector<string>& path_comps,