summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Kaluža <jkaluza@apache.org>2013-11-12 13:14:50 +0100
committerJan Kaluža <jkaluza@apache.org>2013-11-12 13:14:50 +0100
commit452c223fe65c353b077c76b308d3967a8b66874d (patch)
tree6c6bf823762fbd2038c85eb8374034c6eb99427f /include
parent[trunk][doc] Introducing .fr translation for howto/access (diff)
downloadapache2-452c223fe65c353b077c76b308d3967a8b66874d.tar.xz
apache2-452c223fe65c353b077c76b308d3967a8b66874d.zip
Add parse_errorlog_arg callback to ap_errorlog_provider to allow providers
to check the ErrorLog argument. Implement this check in mod_syslog. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1541029 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/ap_mmn.h3
-rw-r--r--include/http_core.h7
2 files changed, 9 insertions, 1 deletions
diff --git a/include/ap_mmn.h b/include/ap_mmn.h
index baee00df21..b5404b5fec 100644
--- a/include/ap_mmn.h
+++ b/include/ap_mmn.h
@@ -441,12 +441,13 @@
* 20130903.0 (2.5.0-dev) Changes sizeof(worker_score) in scoreboard
* 20130924.0 (2.5.0-dev) Add ap_errorlog_provider
* 20130924.1 (2.5.0-dev) Add ap_proxy_connection_reusable()
+ * 20131112.0 (2.5.0-dev) Add parse_errorlog_arg to ap_errorlog_provider
*/
#define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */
#ifndef MODULE_MAGIC_NUMBER_MAJOR
-#define MODULE_MAGIC_NUMBER_MAJOR 20130924
+#define MODULE_MAGIC_NUMBER_MAJOR 20131112
#endif
#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */
diff --git a/include/http_core.h b/include/http_core.h
index 2e635cffa6..15d1e97847 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -872,6 +872,13 @@ struct ap_errorlog_provider {
apr_status_t (*writer)(const ap_errorlog_info *info, void *handle,
const char *errstr, apr_size_t len);
+ /** Checks syntax of ErrorLog directive argument.
+ * @param cmd The config directive
+ * @param arg ErrorLog directive argument
+ * @return Error message or NULL on success
+ */
+ const char * (*parse_errorlog_arg)(cmd_parms *cmd, const char *arg);
+
/** a combination of the AP_ERRORLOG_PROVIDER_* flags */
unsigned int flags;
};