diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-28 18:25:01 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-02-28 18:25:01 -0800 |
commit | 24b3de8987f622b349cbe14dca99594f2c279902 (patch) | |
tree | 32d2b36144872943726b00ea63c274c0f7107933 /src/cstore/unionfs/cstore-unionfs.hpp | |
parent | 2d0d7bc61e12779a56272f82bc66044a5580e778 (diff) | |
download | vyatta-cfg-24b3de8987f622b349cbe14dca99594f2c279902.tar.gz vyatta-cfg-24b3de8987f622b349cbe14dca99594f2c279902.zip |
add config template abstraction
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.hpp')
-rw-r--r-- | src/cstore/unionfs/cstore-unionfs.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp index 29f6822..82bda2a 100644 --- a/src/cstore/unionfs/cstore-unionfs.hpp +++ b/src/cstore/unionfs/cstore-unionfs.hpp @@ -150,7 +150,7 @@ private: // these operate on current tmpl path bool tmpl_node_exists(); - bool tmpl_parse(vtw_def& def); + Ctemplate *tmpl_parse(); // these operate on current work path bool add_node(); @@ -184,10 +184,10 @@ private: bool marked_display_default(bool active_cfg); // observers during commit operation - bool marked_committed(const vtw_def& def, bool is_set); + bool marked_committed(const Ctemplate *def, bool is_set); // these operate on both current tmpl and work paths - bool validate_val_impl(vtw_def *def, char *value); + bool validate_val_impl(const Ctemplate *def, char *value); // observers for "edit/tmpl levels" (for "edit"-related operations). // note that these should be moved to base class in the future. |