[Clamav-users] Re: handling database updates

2004-12-01 Thread spamdetect
Hello Dennis! Sorry to bothering the list. Where can I find info about using the clamav library? SJ ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

[Clamav-users] handling database updates

2004-12-01 Thread spamdetect
Hello Tomasz! Ok, I'll check for database updates in every hour (or shall I do that more often?) But I would like to know what code is preferred doing so. I tried the following: void init_cl(){ int ret, no=0; if((ret = cl_loaddbdir(cl_retdbdir(), &root, &no))){ syslog(LOG_PRIORITY,

[Clamav-users] handling database updates

2004-12-01 Thread spamdetect
Hello! I'm working on an smtp content filter which does virus scanning with libclamav (I do not use any clamav daemon). I pondered about how to handle av database updates and want to find an elegant solution not want to stop and start the filter daemon. I tried the following: when my content f