From d9e64c16e52357bae1eb00fc8403c4e63d6365ca Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 4 Jun 2010 12:45:31 +0200 Subject: finshed implementation of strgen modules and also provided four build-in modules for the most common use cases, hopefully resulting in a speedup of around 5% for typical rsyslog processing. --- runtime/rsyslog.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/rsyslog.h') diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 0e5b1ad4..6a717403 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -26,6 +26,12 @@ #ifndef INCLUDED_RSYSLOG_H #define INCLUDED_RSYSLOG_H +/* ############################################################# * + * # Some constant values # * + * ############################################################# */ +#define CONST_LEN_TIMESTAMP_3164 15 /* number of chars (excluding \0!) in a RFC3164 timestamp */ +#define CONST_LEN_TIMESTAMP_3339 32 /* number of chars (excluding \0!) in a RFC3339 timestamp */ + /* ############################################################# * * # Config Settings # * * ############################################################# */ -- cgit