]> git.ipfire.org Git - thirdparty/suricata.git/commit
yaml: remove conf_filename global
authorVictor Julien <victor@inliniac.net>
Tue, 31 May 2016 14:21:50 +0000 (16:21 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 31 May 2016 14:21:50 +0000 (16:21 +0200)
commit36535cbc6107f4b1393df8b6a06c71702028c7a6
treeac38341c5a5af0309f127c8411cd237f1b5ea129
parent4b9a62d1fe571cf9a3b63382e5751b2e97f17b4c
yaml: remove conf_filename global

conf_filename was a global pointer to the filename of the yaml.

Move into SCInstance. This reduces it's scope and cleans up the code.
src/detect-engine.c
src/detect-engine.h
src/suricata.c
src/suricata.h