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

This was just done via sed. There's a number of files that don't have a license entry at all.
23 lines
773 B
C++
23 lines
773 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "zeek/plugin/Plugin.h"
|
|
|
|
#include "zeek/analyzer/Component.h"
|
|
#include "zeek/analyzer/protocol/irc/IRC.h"
|
|
|
|
namespace zeek::plugin::detail::Zeek_IRC {
|
|
|
|
class Plugin : public zeek::plugin::Plugin {
|
|
public:
|
|
zeek::plugin::Configuration Configure() override {
|
|
AddComponent(new zeek::analyzer::Component("IRC", zeek::analyzer::irc::IRC_Analyzer::Instantiate));
|
|
AddComponent(new zeek::analyzer::Component("IRC_Data", zeek::analyzer::file::IRC_Data::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Zeek::IRC";
|
|
config.description = "IRC analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
} // namespace zeek::plugin::detail::Zeek_IRC
|