summaryrefslogtreecommitdiff
path: root/ext/standard/url_scanner_ex.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-07-04 15:30:21 +0000
committerSascha Schumann <sas@php.net>2001-07-04 15:30:21 +0000
commitef13ab5750202d17a138566f6e4e9ffca84eccf5 (patch)
tree74341539bab35b3a65f44f7ae23542b2c150ef2d /ext/standard/url_scanner_ex.h
parent98b1d4bbf4ddb67919c57072aa4735c79cee055b (diff)
downloadphp-git-ef13ab5750202d17a138566f6e4e9ffca84eccf5.tar.gz
Improve url scanner speed (up to 40% for large chunks of data)
and handle some corner cases better. The scanner has been changed to the format as proposed in "RE2C - A More Versatile Scanner Generator" by Cowan et al.
Diffstat (limited to 'ext/standard/url_scanner_ex.h')
-rw-r--r--ext/standard/url_scanner_ex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/url_scanner_ex.h b/ext/standard/url_scanner_ex.h
index 5ebd9bfe5d..a76bd66f45 100644
--- a/ext/standard/url_scanner_ex.h
+++ b/ext/standard/url_scanner_ex.h
@@ -28,6 +28,8 @@ char *url_adapt_ext_ex(const char *src, size_t srclen, const char *name, const c
char *url_adapt_single_url(const char *url, size_t urllen, const char *name, const char *value, size_t *newlen);
+char *url_adapt_flush(size_t *);
+
#include "php_smart_str_public.h"
typedef struct {