diff options
Diffstat (limited to 'src/cnode/cnode-algorithm.hpp')
-rw-r--r-- | src/cnode/cnode-algorithm.hpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/cnode/cnode-algorithm.hpp b/src/cnode/cnode-algorithm.hpp index c473d6a..2f8995d 100644 --- a/src/cnode/cnode-algorithm.hpp +++ b/src/cnode/cnode-algorithm.hpp @@ -22,9 +22,8 @@ namespace cnode { void show_cfg_diff(const CfgNode& cfg1, const CfgNode& cfg2, - vector<string>& cur_path, - bool show_def = false, bool hide_secret = false, - bool context_diff = false); + Cpath& cur_path, bool show_def = false, + bool hide_secret = false, bool context_diff = false); void show_cfg(const CfgNode& cfg, bool show_def = false, bool hide_secret = false); @@ -32,17 +31,16 @@ 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); + vector<Cpath>& del_list, vector<Cpath>& set_list, + vector<Cpath>& com_list); +void get_cmds(const CfgNode& cfg, vector<Cpath>& set_list, + vector<Cpath>& com_list); extern const string ACTIVE_CFG; extern const string WORKING_CFG; void showConfig(const string& cfg1, const string& cfg2, - const vector<string>& path, bool show_def = false, + const Cpath& path, bool show_def = false, bool hide_secret = false, bool context_diff = false, bool show_cmds = false); |