summaryrefslogtreecommitdiff
path: root/lib/command_match.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-11 17:50:58 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-11 17:50:58 +0000
commit55589d304c7b5765068ae75d5223d4ff634b7fc3 (patch)
tree95fd7ad514568d271acdd76357ede52cf488760c /lib/command_match.h
parent9b887497e855b3fbd818a51df7c089c7a9943575 (diff)
lib: Refactor CLI interface function names
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_match.h')
-rw-r--r--lib/command_match.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/command_match.h b/lib/command_match.h
index e8a408495e..765b189496 100644
--- a/lib/command_match.h
+++ b/lib/command_match.h
@@ -75,7 +75,7 @@ enum match_type
* @return matcher status
*/
enum matcher_rv
-match_command (struct graph_node *start,
+command_match (struct graph_node *start,
vector vline,
struct list **argv,
struct cmd_element **element);
@@ -89,9 +89,9 @@ match_command (struct graph_node *start,
* @return matcher status
*/
enum matcher_rv
-match_command_complete (struct graph_node *start,
- vector vline,
- struct list **completions);
+command_complete (struct graph_node *start,
+ vector vline,
+ struct list **completions);
/**
@@ -103,8 +103,8 @@ match_command_complete (struct graph_node *start,
* @return matcher status
*/
enum matcher_rv
-match_command_complete_str (struct graph_node *start,
- vector vline,
- vector completions);
+command_complete_str (struct graph_node *start,
+ vector vline,
+ vector completions);
#endif /* _ZEBRA_COMMAND_MATCH_H */