diff options
author | Stefan Fritsch <sf@apache.org> | 2010-02-02 00:27:32 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2010-02-02 00:27:32 +0100 |
commit | 60821a3b74716b9e08f1b66a1a48bc65bfa2ea3e (patch) | |
tree | 1a398628773f31587768e63cead26467098f4744 /include/http_config.h | |
parent | mod_log_config: Add the R option to log the handler used within the (diff) | |
download | apache2-60821a3b74716b9e08f1b66a1a48bc65bfa2ea3e.tar.xz apache2-60821a3b74716b9e08f1b66a1a48bc65bfa2ea3e.zip |
replace duplicate code with new function ap_parse_log_level()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@905454 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r-- | include/http_config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h index 4daf3d8c6e..ff6e5e1732 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -491,6 +491,14 @@ AP_DECLARE_NONSTD(const char *) ap_set_int_slot(cmd_parms *cmd, const char *arg); /** + * Parsing function for log level + * @param str The string to parse + * @param val The parsed log level + * @return An error string or NULL on success + */ +AP_DECLARE(const char *) ap_parse_log_level(const char *str, int *val); + +/** * Return true if the specified method is limited by being listed in * a <Limit> container, or by *not* being listed in a <LimitExcept> * container. |