]> git.ipfire.org Git - people/ms/suricata.git/commit
util-logopenfile: add write function
authorEric Leblond <eric@regit.org>
Sun, 24 May 2015 15:43:51 +0000 (17:43 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 22 Oct 2015 08:01:05 +0000 (10:01 +0200)
commita13be67b5e6c26c53149b88f9565c58f7fbe3381
tree715c8298ae419874cc73982e12c36c7178f69dcc
parent60ea49c777ad839fc6306f5731fd12aa98b0f011
util-logopenfile: add write function

Introduce a function LogFileWrite that will handle the writing with
respect of the type defined in the configuration. This is used in
this patch to remove the write complexity from output-json.
src/output-json.c
src/util-logopenfile.c
src/util-logopenfile.h