From b2a2b2dc1adca9f089c693b520978dc4dd0e70bf Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 14 Nov 2012 11:50:55 +0000 Subject: - added improved match() stolen from ircu - fixed compile warning in m_module.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1653 82007160-df01-0410-b94d-b575c5fd34c7 --- include/irc_string.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/irc_string.h b/include/irc_string.h index dee67df..3043e9e 100644 --- a/include/irc_string.h +++ b/include/irc_string.h @@ -31,17 +31,7 @@ extern int has_wildcards(const char *); extern int ircd_pcre_exec(const void *, const char *); extern void *ircd_pcre_compile(const char *, const char **); - -/* - * match - compare name with mask, mask may contain * and ? as wildcards - * match - returns 1 on successful match, 0 otherwise - * - * match_esc - compare with support for escaping chars - * match_chan - like match_esc with first character auto-escaped - */ extern int match(const char *, const char *); -extern int match_esc(const char *, const char *); -extern int match_chan(const char *, const char *); /* * collapse - collapse a string in place, converts multiple adjacent *'s -- cgit