NAME
File::VirusScan::Engine::Daemon::Sophos::Sophie - File::VirusScan backend for scanning with sophie
SYNOPSIS
use File::VirusScan;
my $s = File::VirusScan->new({
engines => {
'-Daemon::Sophos::Sophie' => {
socket_name => '/path/to/sophie.ctl',
},
...
},
...
}
DESCRIPTION
File::VirusScan backend for scanning using Sophos's sophie daemon.
File::VirusScan::Engine::Daemon::Sophos::Sophie inherits from, and follows the conventions of, File::VirusScan::Engine::Daemon. See the documentation of that module for more information.
CLASS METHODS
new ( $conf )
Creates a new scanner object. $conf is a hashref containing:
- socket_name
-
Required.
This must be a fully-qualified path to the sophie socket. Currently, only local sophie connections over a UNIX socket are supported.
INSTANCE METHODS
scan ( $pathname )
Scan the path provided using sophie on a the configured local UNIX socket.
Returns an File::VirusScan::Result object.
DEPENDENCIES
IO::Socket::UNIX, Cwd, File::VirusScan::Result,
SEE ALSO
http://www.clanfield.info/sophie/ http://www.sophos.com
AUTHOR
Dianne Skoll (dianne@skoll.ca)
Dave O'Neill (dmo@roaringpenguin.com)
Jason Englander
LICENCE AND COPYRIGHT
Copyright (c) 2007 Roaring Penguin Software, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, or (at your option) any later version.