summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-05-09 23:53:40 +0000
committerMarcus Boerger <helly@php.net>2006-05-09 23:53:40 +0000
commit0de69fe97dc86d25ecb572cb9d80dad4418612ef (patch)
tree2b596b3839d7820a98d5025f3bc4ed4fe8378018 /ext/pcre/php_pcre.h
parent637a40423cd7632b2800814c2ba3ad9b95bbd2f4 (diff)
downloadphp-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.h3
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;