ClamAV antivirus adminlib.
Copyright: | 2015 Ruslan Kabalin, Lancaster University. |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 166 lines (6 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
antivirus_clamav_runningmethod_setting:: (2 methods):
write_setting()
validate()
antivirus_clamav_socket_setting:: (1 method):
validate_clamav_socket()
antivirus_clamav_pathtounixsocket_setting:: (1 method):
validate()
antivirus_clamav_tcpsockethost_setting:: (1 method):
validate()
Class: antivirus_clamav_socket_setting - X-Ref
Abstract socket checking classvalidate_clamav_socket($socketaddress) X-Ref |
Ping ClamAVÂ socket. This ensures that a socket setting is correct and that ClamAV is running. param: string $socketaddress Address to the socket to connect to (for stream_socket_client) return: mixed True on success, else error message. |
Class: antivirus_clamav_pathtounixsocket_setting - X-Ref
Admin setting for unix socket path, adds verification.Class: antivirus_clamav_tcpsockethost_setting - X-Ref
Admin setting for Internet domain socket host, adds verification.