Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

libclamav - cl_loaddbdir no longer in clamav.h ?

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


per at computer

Mar 13, 2007, 9:24 AM

Post #1 of 3 (1342 views)
Permalink
libclamav - cl_loaddbdir no longer in clamav.h ?

All,

I have some code that's using cl_loaddbdir() - I am just moving to
libclamav.so.2.0.1, and noticed that cl_loaddbdir() is no longer in
clamav.h. Should I take this mean "don't use it" or "it's deprecated"
or "not a supported API" ?



/Per Jessen, Zürich

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


per at computer

Mar 13, 2007, 11:17 AM

Post #2 of 3 (1245 views)
Permalink
Re: libclamav - cl_loaddbdir no longer in clamav.h ? [In reply to]

Per Jessen wrote:

> I have some code that's using cl_loaddbdir() - I am just moving to
> libclamav.so.2.0.1, and noticed that cl_loaddbdir() is no longer in
> clamav.h. Should I take this mean "don't use it" or "it's deprecated"
> or "not a supported API" ?

OK, I see the extra options on cl_load() which is cool. I have to say I
didn't quite appreciate the new default being not to load the phishing
sigs, but I'll survive :-)



/Per Jessen, Zürich

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


tkojm at clamav

Mar 14, 2007, 12:52 AM

Post #3 of 3 (1242 views)
Permalink
Re: libclamav - cl_loaddbdir no longer in clamav.h ? [In reply to]

On Tue, 13 Mar 2007 19:17:10 +0100
Per Jessen <per [at] computer> wrote:

> Per Jessen wrote:
>
> > I have some code that's using cl_loaddbdir() - I am just moving to
> > libclamav.so.2.0.1, and noticed that cl_loaddbdir() is no longer in
> > clamav.h. Should I take this mean "don't use it" or "it's deprecated"
> > or "not a supported API" ?
>
> OK, I see the extra options on cl_load() which is cool. I have to say I
> didn't quite appreciate the new default being not to load the phishing
> sigs, but I'll survive :-)

You should pass CL_DB_STDOPT into cl_load()

--
oo ..... Tomasz Kojm <tkojm [at] clamav>
(\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg
\..........._ 0DCA5A08407D5288279DB43454822DC8985A444B
//\ /\ Wed Mar 14 08:50:07 CET 2007
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.