mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-29 16:17:32 +00:00
Move most code from falco_init() to individual app actions
Each file below app_actions/ defines some of the methods declared in falco::app::application. Any state that needs to be shared betweeen methods, or between the run and teardown methods, resides in falco::app::application::state(), so the moved code stays pretty much as-is, other than replacing stack variables with member variables in app_state. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
This commit is contained in:
parent
e3b82c00e1
commit
1639e22462
@ -17,6 +17,25 @@ set(
|
|||||||
FALCO_SOURCES
|
FALCO_SOURCES
|
||||||
application.cpp
|
application.cpp
|
||||||
app_cmdline_options.cpp
|
app_cmdline_options.cpp
|
||||||
|
app_actions/create_signal_handlers.cpp
|
||||||
|
app_actions/daemonize.cpp
|
||||||
|
app_actions/init_falco_engine.cpp
|
||||||
|
app_actions/init_inspector.cpp
|
||||||
|
app_actions/init_outputs.cpp
|
||||||
|
app_actions/list_fields.cpp
|
||||||
|
app_actions/list_plugins.cpp
|
||||||
|
app_actions/load_config.cpp
|
||||||
|
app_actions/load_plugins.cpp
|
||||||
|
app_actions/load_rules_files.cpp
|
||||||
|
app_actions/open_inspector.cpp
|
||||||
|
app_actions/process_events.cpp
|
||||||
|
app_actions/print_help.cpp
|
||||||
|
app_actions/print_ignored_events.cpp
|
||||||
|
app_actions/print_support.cpp
|
||||||
|
app_actions/print_version.cpp
|
||||||
|
app_actions/start_grpc_server.cpp
|
||||||
|
app_actions/start_webserver.cpp
|
||||||
|
app_actions/validate_rules_files.cpp
|
||||||
configuration.cpp
|
configuration.cpp
|
||||||
logger.cpp
|
logger.cpp
|
||||||
falco_outputs.cpp
|
falco_outputs.cpp
|
||||||
@ -38,6 +57,7 @@ set(
|
|||||||
"${CXXOPTS_INCLUDE_DIR}"
|
"${CXXOPTS_INCLUDE_DIR}"
|
||||||
"${YAMLCPP_INCLUDE_DIR}"
|
"${YAMLCPP_INCLUDE_DIR}"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
"${DRAIOS_DEPENDENCIES_DIR}/yaml-${DRAIOS_YAML_VERSION}/target/include"
|
"${DRAIOS_DEPENDENCIES_DIR}/yaml-${DRAIOS_YAML_VERSION}/target/include"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user