summaryrefslogtreecommitdiff
path: root/lib/command_match.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_match.h')
-rw-r--r--lib/command_match.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/command_match.h b/lib/command_match.h
index cddeb08af7..4fc0995940 100644
--- a/lib/command_match.h
+++ b/lib/command_match.h
@@ -2,6 +2,7 @@
#define COMMAND_MATCH_H
#include "command_graph.h"
+#include "linklist.h"
/**
* Filter types. These tell the parser whether to allow
@@ -27,11 +28,11 @@ enum matcher_rv
};
/* Completion match types. */
-enum match_type
+enum match_type
{
no_match,
partly_match,
- exact_match
+ exact_match
};
/**
* Defines which matcher_rv values constitute
@@ -63,7 +64,7 @@ cmd_range_match (struct graph_node *, const char *str);
enum match_type
cmd_word_match (struct graph_node *, enum filter_type, const char *);
-enum match_type
+struct list**
match_command (struct graph_node *, enum filter_type, const char *);
#endif