summaryrefslogtreecommitdiff
path: root/include/ap_expr.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-09-28 21:33:44 +0000
committerStefan Fritsch <sf@apache.org>2010-09-28 21:33:44 +0000
commita10a4e4f2f41447ab4e92c806fe1408a617bd22c (patch)
treef541496d724c024f140a958f3aaa7744a5d303d0 /include/ap_expr.h
parentaffc4cf328a12f0a77f9788d2d4a517e1c9d7b53 (diff)
downloadhttpd-a10a4e4f2f41447ab4e92c806fe1408a617bd22c.tar.gz
This is just too easy to not do it: Add an 'expr' authz provider that allows
arbitrary expressions in Require lines. The main issue I wanted to fix was that the env provider only allows to check for the existance of an envvar but not the contents. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1002363 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_expr.h')
-rw-r--r--include/ap_expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ap_expr.h b/include/ap_expr.h
index 2f27f0fe45..bc09f2da23 100644
--- a/include/ap_expr.h
+++ b/include/ap_expr.h
@@ -99,7 +99,7 @@ AP_DECLARE(ap_parse_node_t*) ap_expr_parse(apr_pool_t *pool, const char *expr,
* @param eval_func Option evaluation function (e.g. -A filename)
* @return the value the expression parsed to
*/
-AP_DECLARE(int) ap_expr_eval(request_rec *r, ap_parse_node_t *root,
+AP_DECLARE(int) ap_expr_eval(request_rec *r, const ap_parse_node_t *root,
int *was_error, backref_t **reptr,
string_func_t string_func, opt_func_t eval_func);
/**