18 #include "scanner/api/source.h" 19 #include "scanner/engine/source_factory.h" 21 #include "scanner/util/common.h" 30 Result add_source(
const std::string& name,
SourceFactory* factory);
32 bool has_source(
const std::string& name);
37 std::map<std::string, SourceFactory*> factories_;
Definition: source_registry.h:28
Interface for constructing Sources at runtime.
Definition: source_factory.h:30
Definition: database.cpp:36