mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
24 lines
519 B
C++
24 lines
519 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "HTTP.h"
|
|
#include "plugin/Plugin.h"
|
|
#include "analyzer/Component.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_HTTP {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new ::analyzer::Component("HTTP", ::analyzer::http::HTTP_Analyzer::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::HTTP";
|
|
config.description = "HTTP analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|