NAME

File::VirusScan::Engine::Daemon::Trend::Trophie - File::VirusScan backend for scanning with trophie

SYNOPSIS

    use File::VirusScan;
    my $s = File::VirusScan->new({
	engines => {
		'-Daemon::Trend::Trophie' => {
			socket_name => '/path/to/trophie.sock',
		},
		...
	},
	...
}

DESCRIPTION

File::VirusScan backend for scanning using the trophie daemon with Trend's virus scanning libraries.

File::VirusScan::Engine::Daemon::Trend::Trophie 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 trophie socket. Currently, only local connections over a UNIX socket are supported.

INSTANCE METHODS

scan ( $pathname )

Scan the path provided using trophie on a the configured local UNIX socket.

Returns an File::VirusScan::Result object.

DEPENDENCIES

IO::Socket::UNIX, Cwd, File::VirusScan::Result,

SEE ALSO

I have no idea where, if anywhere, the trophie code can be downloaded from. If you know, please contact the File::VirusScan maintainers to let us know.

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.