Hi list, does anybody know of a portable way to determine the version of libclamav? I'd like to link against it on different platforms that use different versions of library in their application repositories. That means I have to support the old (e.g. v0.94) and the new (e.g. 0.95.2) interface.
>From my perspective, best would be to have version information in clamav.h and then use #ifdef's to distinguish between the different APIs. Unfortunately, clamav.h seems not to contain such info. I've searched a bit how other projects to it - without success. I am sure there is a way. Could somebody please point me to it? Thanks alot. Tillmann _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
