summaryrefslogtreecommitdiffstats
path: root/include/helper.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-06-28 13:53:37 +0200
committerDave Davenport <qball@gmpclient.org>2015-06-28 13:53:37 +0200
commit30743d17896fc09778f615da74793013313c725f (patch)
treeeba985fa15faa08f592980c99b5a0126a94ca015 /include/helper.h
parent67089677b59b0ce67778b3f69b9e253c4f1be5fb (diff)
Move fuzzy_token_match to where it can be reused.
Diffstat (limited to 'include/helper.h')
-rw-r--r--include/helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h
index 99b1bf7d..cff62427 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -108,6 +108,10 @@ int token_match ( char **tokens, const char *input, int case_sensitive,
__attribute__( ( unused ) ) unsigned int index,
__attribute__( ( unused ) ) Switcher * data );
+int fuzzy_token_match ( char **tokens, const char *input, int case_sensitive,
+ __attribute__( ( unused ) ) unsigned int index,
+ __attribute__( ( unused ) ) Switcher * data );
+
/**
* @param cmd The command to execute.
*