mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
2109ae85b7
Previously, `ConfigParserPlugin`s could only maintain an internal derived object called `data_`. Then parts of the code that knew to use the plugin's data would call `getParsedData` and provide the name of the plugin. Parser plugins can now request a mutable version of the `ConfigData` using `::mutableConfigData`. This requires a lock on the `ConfigDataInstance` and must be provided to their mutable accessor. Acess to a mutable config enables parsers to make modifications to internal config structures like options and the query schedule. |
||
---|---|---|
.. | ||
plugins | ||
tests | ||
CMakeLists.txt | ||
logger.cpp |