21#ifndef G_VERIFIER_FACTORY_H
22#define G_VERIFIER_FACTORY_H
36 class VerifierFactory ;
74 static void checkFile( Spec & result ,
G::StringArray * warnings_p ) ;
75 static void fixFile( Spec & result ,
const G::Path & base_dir ,
const G::Path & app_dir ) ;
76 static void checkNet( Spec & result ) ;
77 static void checkRange( Spec & result ) ;
78 static void checkExit( Spec & result ) ;
A lightweight object containing an ExceptionHandler pointer, optional ExceptionSource pointer and opt...
A factory interface for addresss verifiers.
A VerifierFactory implementation.
static Spec parse(std::string_view spec, const G::Path &base_dir={}, const G::Path &app_dir={}, G::StringArray *warnings_p=nullptr)
Parses a verifier specification string like "/usr/bin/foo" or "net:127.0.0.1:99" or "net:/run/spamd....
std::unique_ptr< GSmtp::Verifier > newVerifier(GNet::EventState, const GSmtp::Verifier::Config &config, const GSmtp::VerifierFactoryBase::Spec &spec) override
Returns a Verifier on the heap.
VerifierFactory()
Constructor.
A Path object represents a file system path.
Address verifier classes.
std::vector< std::string > StringArray
A std::vector of std::strings.
Verifier specification tuple for GSmtp::VerifierFactoryBase::newVerifier().
Configuration passed to address verifier constructors.