summaryrefslogtreecommitdiffstats
path: root/include/http_core.h
diff options
context:
space:
mode:
authorJan Kaluža <jkaluza@apache.org>2013-09-24 13:03:55 +0200
committerJan Kaluža <jkaluza@apache.org>2013-09-24 13:03:55 +0200
commit904b3f8d8bdd1a468a6545e153f1311ce58ef843 (patch)
tree0e4b2cfb2590e74533f78c668deb1fff9a89a4f8 /include/http_core.h
parentallow the provider to decide whether or not APLOG_NOTICE (diff)
downloadapache2-904b3f8d8bdd1a468a6545e153f1311ce58ef843.tar.xz
apache2-904b3f8d8bdd1a468a6545e153f1311ce58ef843.zip
Add AP_ERRORLOG_PROVIDER_ADD_EOL_STR flag for ap_errorlog_provider, bump MMN.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525845 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r--include/http_core.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/http_core.h b/include/http_core.h
index a31aa054a1..59b584853c 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -846,6 +846,9 @@ typedef struct ap_errorlog_info {
#define AP_ERRORLOG_PROVIDER_VERSION "0"
#define AP_ERRORLOG_DEFAULT_PROVIDER "file"
+/** add APR_EOL_STR to the end of log message */
+#define AP_ERRORLOG_PROVIDER_ADD_EOL_STR 1
+
typedef struct ap_errorlog_provider ap_errorlog_provider;
struct ap_errorlog_provider {
@@ -863,7 +866,10 @@ struct ap_errorlog_provider {
* @param len Length of the error message
*/
apr_status_t (*writer)(const ap_errorlog_info *info, void *handle,
- const char *errstr, int len);
+ const char *errstr, apr_size_t len);
+
+ /** a combination of the AP_ERRORLOG_PROVIDER_* flags */
+ unsigned int flags;
};
/**