summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-07-16 21:09:30 +0000
committerMarcus Boerger <helly@php.net>2006-07-16 21:09:30 +0000
commitbf4c9ef68616eb6998154b04337bbbe2ffac67fb (patch)
tree5abb78632c5211ad471d559e69729949b9396419 /ext/pcre/php_pcre.h
parent717ca4ef55ceada49b85abcd9cf6f4061237e935 (diff)
downloadphp-git-bf4c9ef68616eb6998154b04337bbbe2ffac67fb.tar.gz
- MFH: Little bit refactoring: Two new PHPAPI functions:
. php_pcre_match . php_pcre_split
Diffstat (limited to 'ext/pcre/php_pcre.h')
-rw-r--r--ext/pcre/php_pcre.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcre/php_pcre.h b/ext/pcre/php_pcre.h
index 6a9c94b68c..1bef83ddbe 100644
--- a/ext/pcre/php_pcre.h
+++ b/ext/pcre/php_pcre.h
@@ -44,6 +44,10 @@ PHP_FUNCTION(preg_grep);
PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
PHPAPI pcre* pcre_get_compiled_regex(char *regex, pcre_extra **extra, int *options TSRMLS_DC);
PHPAPI pcre* pcre_get_compiled_regex_ex(char *regex, pcre_extra **extra, int *preg_options, int *coptions TSRMLS_DC);
+PHPAPI void php_pcre_split(pcre *re, pcre_extra *extra, char *subject, int subject_len, zval *return_value,
+ int coptions, int limit_val, int no_empty, int delim_capture, int offset_capture TSRMLS_DC);
+PHPAPI void php_pcre_match(pcre *re, pcre_extra *extra, char *subject, int subject_len, zval *return_value,
+ zval *subpats, int global, int preg_options, long start_offset, int subpats_order, int offset_capture TSRMLS_DC);
extern zend_module_entry pcre_module_entry;
#define pcre_module_ptr &pcre_module_entry