mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 09:01:18 +03:00
Add a "MATCH_" prefix to variables set within
LocationMatch/DirectoryMatch/FilesMatch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1555266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -77,6 +77,8 @@ extern "C" {
|
||||
#define AP_REG_NOMEM 0x20 /* nomem in our code */
|
||||
#define AP_REG_DOTALL 0x40 /* perl's /s flag */
|
||||
|
||||
#define AP_REG_MATCH "MATCH_" /** suggested prefix for ap_regname */
|
||||
|
||||
/* Error values: */
|
||||
enum {
|
||||
AP_REG_ASSERT = 1, /** internal error ? */
|
||||
@ -156,7 +158,8 @@ AP_DECLARE(apr_size_t) ap_regerror(int errcode, const ap_regex_t *preg,
|
||||
* @param upper If non zero, uppercase the names
|
||||
*/
|
||||
AP_DECLARE(int) ap_regname(const ap_regex_t *preg,
|
||||
apr_array_header_t *names, int upper);
|
||||
apr_array_header_t *names, const char *prefix,
|
||||
int upper);
|
||||
|
||||
/** Destroy a pre-compiled regex.
|
||||
* @param preg The pre-compiled regex to free.
|
||||
|
Reference in New Issue
Block a user