]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Forgotten file needed for r1612934.
authorRainer Jung <rjung@apache.org>
Wed, 23 Jul 2014 20:27:32 +0000 (20:27 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 23 Jul 2014 20:27:32 +0000 (20:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612940 13f79535-47bb-0310-9956-ffa450edef68

include/ap_regex.h

index a205d5ea6cc9d506cdcc2d7dc103ee291ef83362..dbe9b2469045d1d9d439aaf78227ad0959d87733 100644 (file)
@@ -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 ? */
@@ -102,6 +108,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