Module z_clamav

Communicate with clamav server, scan file or binary data.

Copyright © 2019 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Communicate with clamav server, scan file or binary data.

Function Index

ip_port/0
max_size/0
ping/0
scan/1
scan_file/1

Function Details

ip_port/0

ip_port() -> {string(), integer()}

max_size/0

max_size() -> integer()

ping/0

ping() -> pong | pang

scan/1

scan(Data::binary()) -> ok | {error, noclamav | infected | unknown | term()}

scan_file/1

scan_file(Filename::file:filename_all()) -> ok | {error, noclamav | infected | av_sizelimit | unknown | term()}


Generated by EDoc