logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ClamAV::Config - A Perl class providing configuration information for Perl modules related to ClamAV

Author

       Julian Mehnle <julian@mehnle.net>

perl v5.38.2                                       2024-05-16                                ClamAV::Config(3pm)

Description

       This class provides configuration information for Perl modules related to the ClamAV virus scanner, e.g.
       installation specific file system paths and run-time configuration options.

   ClamAVbaseconfiguration
       The following ClamAV base configuration information is provided as class methods:

       config_dir
           The base configuration directory of ClamAV.

       clamd_config_file
           The absolute file name of the clamd configuration file.

   clamdrun-timeconfiguration
       The following clamd run-time configuration information is provided as class methods:

       clamd_config
           Returns all clamd run-time configuration options as a hash reference.

       clamd_option($option)
           Returns the value of the specified clamd run-time configuration option.

Name

       ClamAV::Config - A Perl class providing configuration information for Perl modules related to ClamAV

See Also

       For AVAILABILITY, SUPPORT, and LICENSE information, see ClamAV::Client.

Synopsis

           use ClamAV::Config;

           # ClamAV base configuration:
           ClamAV::Config->config_dir;
           ClamAV::Config->clamd_config_file;

           # clamd run-time configuration:
           ClamAV::Config->clamd_config;
           ClamAV::Config->clamd_option($option);

Version

       0.11

See Also