summaryrefslogtreecommitdiff
path: root/src/irc_string.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-30 14:51:30 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-30 14:51:30 +0000
commitd26de8291af33189524cf17ae3ec730aadba6c0c (patch)
tree761e893021397fdab4b03b876b3c87e9b79f93ad /src/irc_string.c
parent0ea643ad024cfb9adb6af2d76455f04708b2b8ed (diff)
- Dropped PCRE support
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1920 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/irc_string.c')
-rw-r--r--src/irc_string.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/irc_string.c b/src/irc_string.c
index f711c9a..a25aa86 100644
--- a/src/irc_string.c
+++ b/src/irc_string.c
@@ -23,10 +23,6 @@
*/
#include "config.h"
-#ifdef HAVE_LIBPCRE
-#include <pcre.h>
-#endif
-
#include "stdinc.h"
#include "irc_string.h"
@@ -239,24 +235,3 @@ strlcpy(char *dst, const char *src, size_t siz)
return s - src - 1; /* count does not include NUL */
}
#endif
-
-#ifdef HAVE_LIBPCRE
-void *
-ircd_pcre_compile(const char *pattern, const char **errptr)
-{
- int erroroffset = 0;
- int options = PCRE_EXTRA;
-
- assert(pattern);
-
- return pcre_compile(pattern, options, errptr, &erroroffset, NULL);
-}
-
-int
-ircd_pcre_exec(const void *code, const char *subject)
-{
- assert(code && subject);
-
- return pcre_exec(code, NULL, subject, strlen(subject), 0, 0, NULL, 0) < 0;
-}
-#endif