mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

This largely copies over Spicy's `.clang-format` configuration file. The one place where we deviate is header include order since Zeek depends on headers being included in a certain order.
24 lines
710 B
C++
24 lines
710 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "zeek/plugin/Plugin.h"
|
|
|
|
#include "zeek/packet_analysis/Component.h"
|
|
#include "zeek/packet_analysis/protocol/fddi/FDDI.h"
|
|
|
|
namespace zeek::plugin::Zeek_FDDI {
|
|
|
|
class Plugin final : public zeek::plugin::Plugin {
|
|
public:
|
|
zeek::plugin::Configuration Configure() override {
|
|
AddComponent(
|
|
new zeek::packet_analysis::Component("FDDI", zeek::packet_analysis::FDDI::FDDIAnalyzer::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Zeek::FDDI";
|
|
config.description = "FDDI packet analyzer";
|
|
return config;
|
|
}
|
|
|
|
} plugin;
|
|
|
|
} // namespace zeek::plugin::Zeek_FDDI
|