Stormont, Stephen (IMS) wrote:
>         We are thinking of utilizing ClamAV, but we wanted to know exactly 
> how the API is implemented.  Does the client makes a socket connection to a 
> daemon.  Or does the client load a shared object file which includes the 
> provided functionality.  Or does the client make a shell call to use a 
> command line utility.  Or is there some other method?

Hi,
All the three.
Your options are:

1- link your code to libclamav
2- run the clamav daemon (clamd), connect to it via a tcp or unix
socket, and speak the clamd proto
3- run one of the provided clients and parse their output. clamscan is
linked to libclamav, clamdscan talks to the daemon instead.

Everything is documented at http://www.clamav.net/doc/latest/html/
and in the tools manpages.


-acab
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to