mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
plugin: Add component enum for storage backends
This commit is contained in:
parent
aeedd25cff
commit
e2b9e81c53
2 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,8 @@ void Component::Describe(ODesc* d) const {
|
||||||
|
|
||||||
case component::LOG_SERIALIZER: d->Add("Log Serializer"); break;
|
case component::LOG_SERIALIZER: d->Add("Log Serializer"); break;
|
||||||
|
|
||||||
|
case component::STORAGE_BACKEND: d->Add("Storage Backend"); break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
reporter->InternalWarning("unknown component type in plugin::Component::Describe");
|
reporter->InternalWarning("unknown component type in plugin::Component::Describe");
|
||||||
d->Add("<unknown component type>");
|
d->Add("<unknown component type>");
|
||||||
|
|
|
@ -33,6 +33,7 @@ enum Type {
|
||||||
CLUSTER_BACKEND, /// A cluster backend.
|
CLUSTER_BACKEND, /// A cluster backend.
|
||||||
EVENT_SERIALIZER, /// A serializer for events, used by cluster backends.
|
EVENT_SERIALIZER, /// A serializer for events, used by cluster backends.
|
||||||
LOG_SERIALIZER, /// A serializer for log batches, used by cluster backends.
|
LOG_SERIALIZER, /// A serializer for log batches, used by cluster backends.
|
||||||
|
STORAGE_BACKEND, /// A backend for the storage framework.
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace component
|
} // namespace component
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue