diff options
author | Jeff Trawick <trawick@apache.org> | 2013-09-27 17:52:13 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-09-27 17:52:13 +0000 |
commit | 528855d54438913d6f07f839b2322fe24912ee49 (patch) | |
tree | 3fe3b79c974ed4ae79cb89db4fbc46244fa71c03 /include/http_core.h | |
parent | 5a2ba0a3772d6b0e313746734e318a77fa60bf78 (diff) | |
download | httpd-528855d54438913d6f07f839b2322fe24912ee49.tar.gz |
Error log providers need to be able to trigger a startup error from their
init() function. A NULL return code is the trigger.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527003 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r-- | include/http_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h index 59b584853c..2e635cffa6 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -856,6 +856,10 @@ struct ap_errorlog_provider { * @param p The pool to create any storage from * @param s Server for which the logger is initialized * @return Pointer to handle passed later to writer() function + * @note On success, the provider must return non-NULL, even if + * the handle is not necessary when the writer() function is + * called. On failure, the provider should log a startup error + * message and return NULL to abort httpd startup. */ void * (*init)(apr_pool_t *p, server_rec *s); |