Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
antivirus_clamav Namespace Reference

  More...

Namespaces

namespace  privacy
  
 

Classes

class  scanner
 Class implementing ClamAV antivirus. More...
 

Functions

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

Variables

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

Detailed Description