mirror of https://github.com/OISF/suricata
Add SuriInstance structure
To be able to split code in functions in main, we need to pass information about the current running Suricata to functions. For that we create a structure to store suricata run parameters. In this patch it allows to separate command line parsing and to treat internal running mode in a switch just after command line parsing.pull/479/head
parent
325462d396
commit
e07fdb20a8