diff options
author | Rainer Jung <rjung@apache.org> | 2014-07-23 22:27:32 +0200 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2014-07-23 22:27:32 +0200 |
commit | 1aa6158bda0164708d82f61d800bd07206af10e2 (patch) | |
tree | 8a7746d76b84bbea91001d80b4f5d8a4328a7cf2 /include | |
parent | Note/update some requirements versions. (diff) | |
download | apache2-1aa6158bda0164708d82f61d800bd07206af10e2.tar.xz apache2-1aa6158bda0164708d82f61d800bd07206af10e2.zip |
Forgotten file needed for r1612934.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612940 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_regex.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/ap_regex.h b/include/ap_regex.h index a205d5ea6c..dbe9b24690 100644 --- a/include/ap_regex.h +++ b/include/ap_regex.h @@ -79,6 +79,12 @@ extern "C" { #define AP_REG_MATCH "MATCH_" /**< suggested prefix for ap_regname */ +/* Arguments for ap_pcre_version_string */ +enum { + AP_REG_PCRE_COMPILED = 0, /** PCRE version used during program compilation */ + AP_REG_PCRE_LOADED /** PCRE version loaded at runtime */ +}; + /* Error values: */ enum { AP_REG_ASSERT = 1, /** internal error ? */ @@ -103,6 +109,15 @@ typedef struct { /* The functions */ /** + * Return PCRE version string. + * @param which Either AP_REG_PCRE_COMPILED (PCRE version used + * during program compilation) or AP_REG_PCRE_LOADED + * (PCRE version used at runtime) + * @return The PCRE version string + */ +AP_DECLARE(const char *) ap_pcre_version_string(int which); + +/** * Compile a regular expression. * @param preg Returned compiled regex * @param regex The regular expression string |