From 9c3d2350ea7fcb0518f96c193890d02e63348209 Mon Sep 17 00:00:00 2001 From: "ssu%netscape.com" Date: Thu, 10 Jun 1999 01:58:50 +0000 Subject: [PATCH] Moving result #defines out where others can use them git-svn-id: svn://10.0.0.236/trunk@34536 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/include/xp_regexp.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/include/xp_regexp.h b/mozilla/include/xp_regexp.h index b8ba5219cc0..22fa8dde76b 100644 --- a/mozilla/include/xp_regexp.h +++ b/mozilla/include/xp_regexp.h @@ -81,6 +81,12 @@ XP_BEGIN_PROTOS extern int XP_RegExpValid(char *exp); + +/* return values for the search routines */ +#define MATCH 0 +#define NOMATCH 1 +#define ABORTED -1 + /* * shexp_match * @@ -88,6 +94,7 @@ extern int XP_RegExpValid(char *exp); * * Returns 0 on match and 1 on non-match. */ + extern int XP_RegExpMatch(char *str, char *exp, Bool case_insensitive); /*