[syslog-ng] [PATCH (3.5)] log_template_compile: function refactorized

Balazs Scheidler bazsi at balabit.hu
Thu Sep 12 13:25:08 CEST 2013


Hi,

After a few changes I've merged this to 3.5 master. Thanks.

On Tue, 2013-09-03 at 11:16 +0200, Juhász Viktor wrote:
> From: Juhasz Viktor <jviktor at balabit.hu>
> 
> implementation of LogTemplateCompiler object helps to understand the
> whole compile process and reduces the number of parameters of the
> functions.
> Some unit test cases added to the unit test.
> 
> The next possible step should be, that split the templates.c
> file into more files.
> 
> This patch based on the log-template-refactor branch
> 
> Signed-off-by: Juhasz Viktor <jviktor at balabit.hu>
> ---
>  lib/template/templates.c                   |  609 ++++++++++++++++------------
>  lib/template/tests/test_template_compile.c |   16 +
>  2 files changed, 366 insertions(+), 259 deletions(-)





More information about the syslog-ng mailing list