summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 09:17:24 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 09:17:24 +0000
commit010c774bc241f0c3a9c116988bfc3637cf64c5d7 (patch)
tree65a80fd39dadfa703a484799b338ea1518efbbbf /include
parent22e8e87a00404725f32f4a53f57809d917876914 (diff)
Revert "Patch from DukePyrolator to replace all calls to match_wild() and match_wild_nocase() to use Anope::Match() instead. Also changes line-endings on wildcard.cpp to Unix-style, as well as fixes a small compile warning in language.c."
This reverts commit fcab9857f55567f10eaecbd6b26ee96f0f549d65. This isn't a simple sed operation, the order of arguments changed, so this would break everything using it. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2081 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/extern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/extern.h b/include/extern.h
index 1265a3e67..06ba4cb9b 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -627,6 +627,9 @@ E char *strnrepl(char *s, int32 size, const char *old, const char *nstr);
E const char *merge_args(int argc, char **argv);
E const char *merge_args(int argc, const char **argv);
+// Use Anope::Match() instead of these.
+E int match_wild(const char *pattern, const char *str) MARK_DEPRECATED;
+E int match_wild_nocase(const char *pattern, const char *str) MARK_DEPRECATED;
E int dotime(const char *s);
E const char *duration(NickCore *nc, char *buf, int bufsize, time_t seconds);
E const char *expire_left(NickCore *nc, char *buf, int len, time_t expires);