diff options
Diffstat (limited to 'src/cnode/cnode-algorithm.hpp')
-rw-r--r-- | src/cnode/cnode-algorithm.hpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/cnode/cnode-algorithm.hpp b/src/cnode/cnode-algorithm.hpp index 86bce81..07faf07 100644 --- a/src/cnode/cnode-algorithm.hpp +++ b/src/cnode/cnode-algorithm.hpp @@ -21,8 +21,19 @@ namespace cnode { -void show_diff(const CfgNode& cfg1, const CfgNode& cfg2, bool show_def, - bool hide_secret); +void show_cfg_diff(const CfgNode& cfg1, const CfgNode& cfg2, bool show_def, + bool hide_secret); +void show_cfg(const CfgNode& cfg, bool show_def, bool hide_secret); + +void show_cmds_diff(const CfgNode& cfg1, const CfgNode& cfg2); +void show_cmds(const CfgNode& cfg); + +void get_cmds_diff(const CfgNode& cfg1, const CfgNode& cfg2, + vector<vector<string> >& del_list, + vector<vector<string> >& set_list, + vector<vector<string> >& com_list); +void get_cmds(const CfgNode& cfg, vector<vector<string> >& set_list, + vector<vector<string> >& com_list); } // namespace cnode |