diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-23 14:48:42 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-08-23 14:48:42 -0700 |
commit | 46043b24caf3ccbaeef3fdfaeb7edcc6c99e6a58 (patch) | |
tree | 973381f2ea2fbc4d43287e1f9e5a1d445dfe527d /src/cstore/unionfs/cstore-unionfs.hpp | |
parent | f15df25b9693b8802912ddd24f7f8aeaa2893380 (diff) | |
download | vyatta-cfg-46043b24caf3ccbaeef3fdfaeb7edcc6c99e6a58.tar.gz vyatta-cfg-46043b24caf3ccbaeef3fdfaeb7edcc6c99e6a58.zip |
move "changed" status handling into library
* remove public status modifier as high-level operations no longer need it.
* add more information to clarify changed status handling in library.
* mark changed status at appropriate places in library.
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.hpp')
-rw-r--r-- | src/cstore/unionfs/cstore-unionfs.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp index bff4844..90f28c5 100644 --- a/src/cstore/unionfs/cstore-unionfs.hpp +++ b/src/cstore/unionfs/cstore-unionfs.hpp @@ -158,14 +158,14 @@ private: bool mark_deactivated(); bool unmark_deactivated(); bool unmark_deactivated_descendants(); + bool mark_changed_with_ancestors(); bool unmark_changed_with_descendants(); - bool mark_changed(); bool remove_comment(); bool set_comment(const string& comment); bool discard_changes(unsigned long long& num_removed); // observers for work path - bool marked_changed(); + bool cfg_node_changed(); // observers for work path or active path bool cfg_node_exists(bool active_cfg); |