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
Eric Leblond 13 years ago
parent 325462d396
commit e07fdb20a8

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save