Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Classes | Namespaces | Functions | Variables
scanner.php File Reference

ClamAV antivirus integration. More...

Classes

class  antivirus_clamav\scanner
 Class implementing ClamAV antivirus. More...
 

Namespaces

namespace  antivirus_clamav
  
 

Functions

 antivirus_clamav::scan_data_execute_socket ($data, $type)
 Scan data socket.
 
 antivirus_clamav::scan_data_execute_unixsocket ($data)
 Scan data using Unix domain socket.
 
 antivirus_clamav::scan_file_execute_unixsocket ($file)
 Scan file using Unix domain socket.
 

Variables

const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_CHUNKSIZE 33554432
 Default socket data stream chunk size (32Mb: 32 * 1024 * 1024)
 
const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_TIMEOUT 10
 Default socket timeout.
 

Detailed Description

ClamAV antivirus integration.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later