summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-10-17 01:27:52 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-05-23 17:59:29 -0400
commit36f64b26a11500ac720dad148481a1a0e66a8ba7 (patch)
treec978431d0ddffe72cb9888cf7eda83dab48607d0 /src/configfile.h
parentb6e0880ae6a92991a13d3297bbf2e2ac5159e6b6 (diff)
downloadlighttpd-git-36f64b26a11500ac720dad148481a1a0e66a8ba7.tar.gz
[core] simpler config_check_cond()
optimize for common case where condition has been evaluated for the request and a cached result exists (also: begin isolating data_config)
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configfile.h b/src/configfile.h
index 8a4cf6ee..6c4647ee 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -152,6 +152,6 @@ int config_insert_values_global(server *srv, const array *ca, const config_value
__attribute_cold__
int config_insert_values_internal(server *srv, const array *ca, const config_values_t *cv, config_scope_type_t scope);
-int config_check_cond(server *srv, connection *con, const data_config *dc);
+int config_check_cond(connection *con, int context_ndx);
#endif