Would you accept a patch file if I ever have the time?

Tomasz Kojm wrote:
> On Fri, 13 Mar 2009 17:12:06 -0500
> Ladar Levison <[email protected]> wrote:
>
>   
>> There currently is no function call available via the public libclamav 
>> API to return the total number of signatures in the database directory. 
>> To find this number a developer would need to manually pass the file 
>> names to the CVD functions. Since there are multiple files stored in the 
>> directory, and filenames change, I don't feel that is a stable interface 
>> model.
>>
>> Why not store the number as part of the cl_stat structure, and return it 
>> with a simple function call:
>>
>> unsigned int cl_statsigtotal(const struct cl_stat *dbstat);
>>     
>
> Please open a bug report, mark it as enhancement, and we will consider
> such a feature for one of the future releases.
>
>   

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

Reply via email to