From 0de69fe97dc86d25ecb572cb9d80dad4418612ef Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 9 May 2006 23:53:40 +0000 Subject: - MFH pcre_get_compiled_regex_cache() support --- ext/pcre/php_pcre.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/pcre/php_pcre.h') diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h index d6068cfb74..6a9c94b68c 100644 --- a/ext/pcre/php_pcre.h +++ b/ext/pcre/php_pcre.h @@ -57,8 +57,11 @@ typedef struct { unsigned const char *tables; #endif int compile_options; + int refcount; } pcre_cache_entry; +PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(char *regex, int regex_len, pcre_extra **extra, int *preg_options, int *compile_options TSRMLS_DC); + ZEND_BEGIN_MODULE_GLOBALS(pcre) HashTable pcre_cache; long backtrack_limit; -- cgit v1.2.1