Lay out initial parts for the Storage framework

This includes a manager, component manager, BIF and script code, and
parts to support new storage backend plugins.
This commit is contained in:
Tim Wojtulewicz 2023-09-11 12:21:58 -07:00
parent 3d6e7c85b0
commit 2ea0f3e70a
32 changed files with 874 additions and 1 deletions

View file

@ -148,6 +148,11 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
{"Reporter::warning", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Spicy::__resource_usage", ATTR_NO_ZEEK_SIDE_EFFECTS},
{"Spicy::__toggle_analyzer", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Storage::__close_backend", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Storage::__erase", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Storage::__get", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Storage::__open_backend", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Storage::__put", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Supervisor::__create", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Supervisor::__destroy", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Supervisor::__is_supervised", ATTR_IDEMPOTENT},