]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: log: add a macro to know if a lf_node is configurable
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 29 Apr 2024 10:22:56 +0000 (12:22 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 29 Apr 2024 12:47:37 +0000 (14:47 +0200)
commit9bdce675856024af9110dcfa8701a2054f041494
tree10e3df9c81ccf7e95b6f239441cfd76e9aba8301
parent98b44e8edb439ef54d021de03efec1e8fd019fd0
CLEANUP: log: add a macro to know if a lf_node is configurable

LF_NODE_WITH_OPT(node) returns true if the node's option may be set and
thus should be considered. Logic is based on logformat node's type:
for now only TAG and FMT nodes can be configured.
include/haproxy/log-t.h
src/log.c