[prev in list] [next in list] [prev in thread] [next in thread] 

List:       clamav-devel
Subject:    Re: [Clamav-devel] API concerns
From:       Ladar Levison <ladar () lavabit ! com>
Date:       2009-03-13 23:44:36
Message-ID: 49BAEFE4.5090705 () lavabit ! com
[Download RAW message or body]

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 <ladar@lavabit.com> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic