You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe Jr." <wr...@rowe-clan.net> on 2010/03/31 21:06:18 UTC

Re: svn commit: r929663 - /httpd/httpd/trunk/include/http_config.h

Is there a reason for all this to be exposed as a public API?

> +
> +enum strict_how {
> +    AP_OPTIONAL, /* directory and file wildcards succeed on no-match */
> +    AP_MIXED, /* directory wildcards fail, file wildcards succeed on no match */
> +    AP_STRICT /* directory and file wildcards fail on no-match */
> +};
> +
>  /**
>   * This structure is passed to a command which is being invoked,
>   * to carry a large variety of miscellaneous data which is all of
> @@ -906,6 +913,22 @@ AP_CORE_DECLARE(const char *) ap_init_vi
>   * @param conftree The root node of the created config tree
>   * @param p Pool for general allocation
>   * @param ptemp Pool for temporary allocation
> + * @param strict Whether a no-match wildcard should be fatal
> + */
> +AP_DECLARE(const char *) ap_process_resource_config_ex(server_rec *s,
> +                                                       const char *fname,
> +                                                       ap_directive_t **conftree,
> +                                                       apr_pool_t *p,
> +                                                       apr_pool_t *ptemp,
> +                                                       enum strict_how strict);


Re: svn commit: r929663 - /httpd/httpd/trunk/include/http_config.h

Posted by Graham Leggett <mi...@sharp.fm>.
On 31 Mar 2010, at 9:06 PM, William A. Rowe Jr. wrote:

> Is there a reason for all this to be exposed as a public API?

ap_process_resource_config() is exposed as a public API, and  
ap_process_resource_config_ex(() replaces ap_process_resource_config().

Regards,
Graham
--