On 03/20/2013 09:02 PM, Marc Balmer wrote:

>>> API to scan data that is already read (or, more practically, mmap()'ed)
>>> into memory, a la scan_buff(void *start, size_t length, ...<options etc.>)
[...]
> If you temporarily store the message content on a ramdisk, it should get
> quite fast.

That's what I have to do currently. But it's extra conversion. I have my own
MIME parser, it gives me parts of the message in the form of memory areas. It's
a shame to write the data that is already read/mmaped back to a file, even if
it's on tmpfs.

Eugene

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to