// See the file  in the main distribution directory for copyright.

#include "zeek/plugin/Plugin.h"

#include "zeek/analyzer/Component.h"
#include "zeek/analyzer/protocol/ftp/FTP.h"

namespace zeek::plugin::detail::Zeek_FTP {

class Plugin : public zeek::plugin::Plugin {
public:
    zeek::plugin::Configuration Configure() override {
        AddComponent(new zeek::analyzer::Component("FTP", zeek::analyzer::ftp::FTP_Analyzer::Instantiate));
        AddComponent(new zeek::analyzer::Component("FTP_ADAT", nullptr));

        zeek::plugin::Configuration config;
        config.name = "Zeek::FTP";
        config.description = "FTP analyzer";
        return config;
    }
} plugin;

} // namespace zeek::plugin::detail::Zeek_FTP
