On Thu, 16 Oct 2003 18:29:46 -0700 Alex Krohn <[EMAIL PROTECTED]> wrote:
> Hi, > > We've put together a perl module that provides access to almost all of > the C API for ClamAV. For example: Hi, there is (yet) undocumented but very useful feature in libclamav that allows db dir monitoring: initialization: struct cl_stat dbstat; cl_statinidir(dbdir, &dbstat); verification: if(cl_statchkdir(&dbstat) == 1) { reload_the_database; reinitialize_dbstat: cl_statfree(&dbstat); cl_statinidir(dbdir, &dbstat); } Also: could you please create a patch for amavisd-new that uses your module ? (It should handle db changes). Best regards, Tomasz Kojm -- oo ..... [EMAIL PROTECTED] (\/)\......... http://www.konarski.edu.pl/~zolw \..........._ I nie zapomnij kliknac w brzuszek... //\ /\\ <- C. Amboinensis www.pajacyk.pl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users