]> git.ipfire.org Git - thirdparty/suricata.git/commit
json: macros for setting formatted true and string values
authorJason Ish <jason.ish@oisf.net>
Mon, 8 Jun 2020 18:28:02 +0000 (12:28 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 9 Jun 2020 11:29:04 +0000 (13:29 +0200)
commit74053f43cb051b3d9354c0999d50297ecdd2da9a
tree7c4362b8313ec1afd5e2cf6af61a61732e406ff6
parenta545cdef6ad2aa4217b3966b9d22690339bd242f
json: macros for setting formatted true and string values

JB_SET_TRUE(jb, key), and JB_SET_STRING(string, key, val) are C macros
around jb_set_formatted to set static string and true values as a
(micro) optimization.
src/output-json-file.c
src/output-json-flow.c
src/output-json.c
src/rust.h