diff options
author | Marcus Boerger <helly@php.net> | 2006-05-09 23:53:40 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-05-09 23:53:40 +0000 |
commit | 0de69fe97dc86d25ecb572cb9d80dad4418612ef (patch) | |
tree | 2b596b3839d7820a98d5025f3bc4ed4fe8378018 /ext/pcre/php_pcre.h | |
parent | 637a40423cd7632b2800814c2ba3ad9b95bbd2f4 (diff) | |
download | php-git-0de69fe97dc86d25ecb572cb9d80dad4418612ef.tar.gz |
- MFH pcre_get_compiled_regex_cache() support
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r-- | ext/pcre/php_pcre.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |