summaryrefslogtreecommitdiff
path: root/lib/command_match.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-07-22 19:04:16 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-07-22 19:04:16 +0000
commit880e24a1e4cc78cb23ebdd72f2e5cea861cf8be2 (patch)
treefefe79765d2c5932a4083e428843657b9d673edd /lib/command_match.h
parent18be0e599d1ba666e59a3d027e973eb41798f46f (diff)
lib: Reorganize some matching stuff
Introduce new node type, END_GN, and remove is_leaf flags. Reorganize command_match.c & remove internal functions from command_match.h. Start rewriting command.h in command_new.h with changes for new backend. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_match.h')
-rw-r--r--lib/command_match.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/lib/command_match.h b/lib/command_match.h
index 4fc0995940..695dda2827 100644
--- a/lib/command_match.h
+++ b/lib/command_match.h
@@ -46,25 +46,7 @@ enum match_type
|| (matcher_rv) == MATCHER_EXCEED_ARGC_MAX \
)
-enum match_type
-cmd_ipv4_match (const char *);
-
-enum match_type
-cmd_ipv4_prefix_match (const char *);
-
-enum match_type
-cmd_ipv6_match (const char *);
-
-enum match_type
-cmd_ipv6_prefix_match (const char *);
-
-enum match_type
-cmd_range_match (struct graph_node *, const char *str);
-
-enum match_type
-cmd_word_match (struct graph_node *, enum filter_type, const char *);
-
-struct list**
+struct list *
match_command (struct graph_node *, enum filter_type, const char *);
#endif