diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2011-01-18 13:35:50 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2011-01-18 13:35:50 -0800 |
commit | dbe4a4ee85b2968ae63415bd12080abba3b9a8df (patch) | |
tree | 5cd0c572b3b9ca822fde828aebce1f5bfffd3265 /src/cnode/cnode-algorithm.hpp | |
parent | 5ec1f60e4c641a9e135fb9818e9a7334aa3180f7 (diff) | |
download | vyatta-cfg-dbe4a4ee85b2968ae63415bd12080abba3b9a8df.tar.gz vyatta-cfg-dbe4a4ee85b2968ae63415bd12080abba3b9a8df.zip |
initial implementation of context diff
Diffstat (limited to 'src/cnode/cnode-algorithm.hpp')
-rw-r--r-- | src/cnode/cnode-algorithm.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cnode/cnode-algorithm.hpp b/src/cnode/cnode-algorithm.hpp index 07faf07..8837054 100644 --- a/src/cnode/cnode-algorithm.hpp +++ b/src/cnode/cnode-algorithm.hpp @@ -21,9 +21,11 @@ namespace cnode { -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_cfg_diff(const CfgNode& cfg1, const CfgNode& cfg2, + 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); void show_cmds_diff(const CfgNode& cfg1, const CfgNode& cfg2); void show_cmds(const CfgNode& cfg); |